Contact
Get Channel Profile
Get user profile from a specific channel. Only supported on MESSENGER, INSTAGRAM, VIBER and LINE channels. Note that, in order to retrieve a WhatsApp display name, you can use the Get a Contact or List Contacts operations, which will populate the display_name field of each returned contact with the WhatsApp display name (if the name is already stored on the server and the display_name field has not been overwritten by the user).
post/v1/projects/{project_id}/contacts:getChannelProfile
Request body
Example request
{
"app_id": "{APP_ID}",
"recipient": {
"identified_by": {
"channel_identities": [
{
"channel": "WHATSAPP"
}
]
}
},
"channel": "MESSENGER"
}Response
A successful response.
Example response
{
"profile_name": "John Doe"
}