Developer Docs Logo
API RequestsAPI SchemaContacts

Create Contact

POST/v1/contacts

Creates a new contact in the authenticated workspace. Requires contact:write scope.

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Contact details. Name is required; phone number and email are optional.

TypeScript Definitions

Use the request body type in TypeScript.

Request body for creating a new contact.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/contacts" \  -H "Content-Type: application/json" \  -d '{    "name": "John Doe",    "phone_number": "6281234567890",    "email": "john.doe@example.com"  }'
{  "id": "550e8400-e29b-41d4-a716-446655440000"}