Contact
Create a Contact
Most Conversation API contacts are created automatically when a message is sent to a new recipient. You can also create a new contact manually using this API call.
post/v1/projects/{project_id}/contacts
Request
- Base URLhttps://us.conversation.api.sinch.com
- URLhttps://us.conversation.api.sinch.com/v1/projects/{project_id}/contacts
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://auth.sinch.com/oauth2/token
Request body
Example request
{
"channel_identities": [
{
"channel": "WHATSAPP"
}
],
"channel_priority": [
"WHATSAPP"
]
}Response
A successful response.
Example response
{
"channel_identities": [
{
"channel": "WHATSAPP"
}
],
"channel_priority": [
"WHATSAPP"
],
"id": "{CONTACT_ID}"
}Changes
No recorded changes to this operation across all 3 revisions of this API.