Contact APIs
Create Contact
This endpoint creates a new contact.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header
Example:
"{{orgPhone}}"
Body
application/json
- Name of the new contact
Example:
"Test New 1040"
- The unique identifier of the contact Must be formatted as country_code + number (e.g., 919537851844).
- Do not include special characters
Example:
"919537851844"
- A comma-separated list of labels to be assigned to the chats. All labels are case-insensitive.
- If any label currently does not exist, it will be created
Example:
"Test, Demo"
- Indicates if the member is an internal user of the organization.
Example:
true
Response
200 - application/json
200 OK
The response is a contact object. Refer to the contact object here
Was this page helpful?