Returns a specific contact as specified by the contact ID. Note the following:
If a WhatsApp contact is returned, the
display_namefield of that contact may be populated with the WhatsApp display name (if the name is already stored on the server and thedisplay_namefield 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_idandchannel_identityvalues included in the callback to retreive the username (detailed in thedisplay_namefield) with this Conversation API operation.
The unique ID of the project. You can find this on the Sinch Dashboard.
- https://us.conversation.api.sinch.comhttps://us.conversation.api.sinch.com/v1/projects/{project_id}/contacts/{contact_id}
curl -i -X GET \
-u '<username>:<password>' \
'https://us.conversation.api.sinch.com/v1/projects/{project_id}/contacts/{contact_id}'A successful response.
List of channels defining the channel priority. Note that this priority order can be overridden by the channel_priority_order set in a send message request, the order of channel_identities set in a send message request, or the channel that is already in use if a conversation already exists for this contact.
| Enum Value | Description |
|---|---|
| AF | Afrikaans |
| SQ | Albanian |
| AR | Arabic |
| AZ | Azerbaijani |
| BN | Bengali |
| BG | Bulgarian |
| CA | Catalan |
| ZH | Chinese |
| ZH_CN | Chinese (CHN) |
| ZH_HK | Chinese (HKG) |
| ZH_TW | Chinese (TAI) |
| HR | Croatian |
| CS | Czech |
| DA | Danish |
| NL | Dutch |
| EN | English |
| EN_GB | English (UK) |
| EN_US | English (US) |
| ET | Estonian |
| FIL | Filipino |
| FI | Finnish |
| FR | French |
| DE | German |
| EL | Greek |
| GU | Gujarati |
| HA | Hausa |
| HE | Hebrew |
| HI | Hindi |
| HU | Hungarian |
| ID | Indonesian |
| GA | Irish |
| IT | Italian |
| JA | Japanese |
| KN | Kannada |
| KK | Kazakh |
| KO | Korean |
| LO | Lao |
| LV | Latvian |
| LT | Lithuanian |
| MK | Macedonian |
| MS | Malay |
| ML | Malayalam |
| MR | Marathi |
| NB | Norwegian |
| FA | Persian |
| PL | Polish |
| PT | Portuguese |
| PT_BR | Portuguese (BR) |
| PT_PT | Portuguese (PT) |
| PA | Punjabi |
| RO | Romanian |
| RU | Russian |
| SR | Serbian |
| SK | Slovak |
| SL | Slovenian |
| ES | Spanish |
| ES_AR | Spanish (ARG) |
| ES_ES | Spanish (SPA) |
| ES_MX | Spanish (MEX) |
| SW | Swahili |
| SV | Swedish |
| TA | Tamil |
| TE | Telugu |
| TH | Thai |
| TR | Turkish |
| UK | Ukrainian |
| UR | Urdu |
| UZ | Uzbek |
| VI | Vietnamese |
| ZU | Zulu |
{ "channel_identities": [ { … } ], "channel_priority": [ "WHATSAPP" ], "display_name": "string", "email": "string", "external_id": "string", "id": "{CONTACT_ID}", "language": "AF", "metadata": "string" }