Skip to main content

Get Contact

Retrieve detailed information about a specific contact.

Endpoint

GET /api/v1/contacts/{id}

Headers

X-API-Key: sk_live_your_api_key

Path Parameters

ParameterTypeRequiredDescription
idstringYesContact ID

Example Request

curl -H "X-API-Key: sk_live_your_api_key" \
https://api.sendmator.com/api/v1/contacts/123e4567-e89b-12d3-a456-426614174000

Example Response

{
"id": "123e4567-e89b-12d3-a456-426614174000",
"external_id": "CRM-001",
"email": "john.doe@example.com",
"first_name": "John",
"last_name": "Doe",
"tags": ["customer", "vip"],
"is_active": true,
"is_unsubscribed": false,
"unsubscribed_at": null,
"custom_fields": {
"company": "Acme Corp",
"department": "Engineering"
},
"metadata": {
"source": "website",
"created_via": "api_key"
},
"created_at": "2024-01-15T10:30:00.000Z",
"updated_at": "2024-01-15T10:30:00.000Z"
}