Get user profile

This API enables you to get an existing user profile.

Path parameters

WSIDstringRequired

Enter your workspace ID. You can obtain this value from the API Keys page within your Fyno account.

versionenumRequired

Specify the version for which you would like to manage the user profile.

Allowed values:
distinct_idstringRequired

Enter the distinct ID that you currently use to identify the user.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

This endpoint returns an object.
channelobject
country_codestring

The country code of the user. This value is automatically determined based on the number provided in the SMS channel of the profile. For a list of possible values, please click here.

created_atstring

The timestamp when the profile was created in ISO Date Time Format.

distinct_idstring

The distinct ID used to identify the user.

id_listlist of any

Other profile IDs previously linked to this profile.

profile_idstring

Unique profile ID within Fyno.

statusenum

The status of the user. If 1, the user is active and should receive notifications. If 0, the user in inactive and should not receive notifications.

Allowed values:
timezonestring

The timezone of the user. For a list of possible values, please click here.

timezone_offsetstring

The timezone offset of the user. The value is automatically determined based on the timezone provided for the user in the profile.

updated_atstring

The timestamp when the profile was last updated in ISO Date Time Format.

versionenum

The version where the user profile is available.

Allowed values:
namestringOptional

The full name of the user.

Errors