Contact
Get a Contact
Returns a specific contact as specified by the contact ID. Note the following:
-
If a WhatsApp contact is returned, the display_name field of that contact may be populated 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).
-
If you receive an Inbound Message callback for an MO message on the Instagram channel, the corresponding payload will not include the Instagram username. You may use the contact_id and channel_identity values included in the callback to retreive the username (detailed in the display_name field) with this Conversation API operation.
get/v1/projects/{project_id}/contacts/{contact_id}
Response
A successful response.
Example response
{
"channel_identities": [
{
"channel": "WHATSAPP"
}
],
"channel_priority": [
"WHATSAPP"
],
"id": "{CONTACT_ID}"
}