Create contact
Changed onCreate a new contact with one or more communication channels.
post/v1/contacts
Request
- Base URLhttps://api.zavu.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"displayName": "John Doe",
"channels": [
{
"identifier": "+14155551234",
"countryCode": "US",
"label": "work"
}
]
}Response
Contact created.
Example response
{
"displayName": "John Doe",
"phoneNumber": "+56912345678",
"primaryPhone": "+56912345678",
"primaryEmail": "john@example.com",
"countryCode": "CL",
"profileName": "John Doe",
"whatsapp": {
"bsuid": "CO.13491208655302741918"
},
"channels": [
{
"identifier": "+14155551234",
"countryCode": "US",
"label": "work"
}
]
}Changes
- info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status
- warning