Contacts API
Manage contacts programmatically.
Endpoints
List Contacts
http
GET /api/v1/contactsQuery Parameters:
| Parameter | Type | Description |
|---|---|---|
| page | number | Page number (default: 1) |
| limit | number | Per page (default: 20, max: 100) |
| search | string | Search by name, email, phone |
| tags | string | Filter by tag |
| source | string | Filter by source channel |
Get Contact
http
GET /api/v1/contacts/:idCreate Contact
http
POST /api/v1/contactsjson
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phone": "+905551234567",
"tags": ["vip", "customer"],
"customFields": {
"company": "Acme Inc."
}
}Update Contact
http
PATCH /api/v1/contacts/:idDelete Contact
http
DELETE /api/v1/contacts/:idAdd Note
http
POST /api/v1/contacts/:id/notesjson
{
"content": "Customer interested in premium plan"
}