Get contacts list
Retrieves a paginated list of contacts for the authenticated customer. Supports filtering by search term, channel, or phone number.
page*integerPage number (1-indexed)
int32page_size*integerNumber of items per page
int32search?|Optional search term for filtering contacts
channel?|Optional channel filter (sms, whatsapp)
phone?|Optional phone number filter (alternative to list view)
x-profile-id?stringProfile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.
uuidContacts retrieved successfully
application/json- response
Standard API response envelope for all v3 endpoints
success?booleanIndicates whether the request was successful
data?|nullThe response data (null if error)
error?|nullError details (null if successful)
meta?Metadata about the request and response
curl -X GET 'https://api.sent.dm/v3/contacts?page=1&page_size=20'{ "success": true, "data": { "contacts": [ { "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "customer_id": "00000000-0000-0000-0000-000000000000", "phone_number": "+1234567890", "format_e164": "+1234567890", "format_international": "+1 234-567-890", "format_national": "(234) 567-890", "format_rfc": "tel:+1-234-567-890", "country_code": "1", "region_code": "US", "available_channels": "sms,whatsapp", "default_channel": "sms", "opt_out": false, "is_inherited": false, "created_at": "2026-11-27T23:31:12.8670011+00:00", "updated_at": null } ], "pagination": { "page": 1, "page_size": 20, "total_count": 150, "total_pages": 8, "has_more": true, "cursors": null } }, "error": null, "meta": { "request_id": "req_7X9zKp2jDw", "timestamp": "2026-11-27T23:31:12.8670269+00:00", "version": "v3" }}List messages for a conversation GET
Retrieves a paginated list of the messages in a single conversation (scoped to the authenticated customer), ordered by created date (most recent first).
Get contact by ID GET
Retrieves a specific contact by their unique identifier. Returns detailed contact information including phone formats, available channels, and opt-out status.