Add customer contact
POST/v1/contacts
Creates a contact. The phone is normalized to E.164 and email is lowercased before storage; those normalized values are also indexed in contact_identities so a later inbound message on the same number or address resolves to this contact instead of creating a duplicate. An unparseable phone returns 400. If the phone or email already belongs to another contact in the account, the request is rejected with 409.
Permissions - contacts.write. API keys - manage.
Request
Responses
- 201
- 400
- 401
- 404
- 409
- 500
The new contact
BadRequest
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789Unauthorized
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789The specified resource was not found
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789The request conflicts with the current state (for example, a name already in use)
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789Internal Server Error
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789