Retrieve User Profile

GET https://api.helpshift.com/v1/{{domain}}/user-profiles?app_id={{app_publish_id}}

Retrieve End-User Profile based on user identifiers. This uses the same logic to identify user profiles as used in the SDK and WebChat - At least one of the following must be provided: user id, email, phone number, channel & channel identifier. A profile-id can also be provided to retrieve the end-user profile directly.

Request Params

KeyDatatypeRequiredDescription
app_idstringApp Publish ID. Required. The user will be specific to the given app.
To retrieve end-users for web/email users, use the value "1" for app publish ID.
user_idstringUser UID.
emailstringUser Email
phone_numberstringUser Phone Number
channelstringThird Party Channel. If channel is present, channel_id must also be present.
Allowed Values - abc, fbm, sms
channel_idnumberChannel specific identifier. If channel_id is present, channel must also be present.
profile_idstringUser profile Internal ID

RESPONSES

status: OK

{"created_at":"2020-11-30T06:26:38.091Z","email":"visitor@example.net","name":"visitor","updated_at":"2020-11-30T06:26:38.091Z","profile_id":"moana_profile_ae968698504ea6f3f9370e9c8c3a7344276929bd","timezone":"Etc/UTC"}