Create contact
This endpoint allows you to create a new Contact. A contact represents a person with whom you can interact via a phone call or other communication.
Authorizations
API key for the user making the request. This can be found via the Developer Settings page in the dashboard.
Team identifier, used to scope requests to a specific team. This can be found via the Developer Settings page in the dashboard.
Body
The phone number of the Contact. This is required to initiate calls.
The name of the Contact.
The email address associated with the Contact (optional).
The country code for the Contact's phone number.
Tags associated with the Contact to help categorize or segment them.
Custom attributes you can assign to the Contact. These can be referenced in the Agent script.
Response
The generic response format for all API requests. This structure ensures consistency in how success and error information is returned to the caller.
Contains the response data for the successful request. This field will vary based on the specific API endpoint being called and contains the main data returned from the API. For example, it may include information about a created contact, agent, or webhook subscription.
An object containing error details, if any. This field will be populated if the API request fails or encounters an error. If the request is successful, this field will be null or omitted.
Was this page helpful?