Add a Contact
Request Parameters
string
required
The contact’s full name (e.g.
Maria Santos).string
required
The contact’s phone number in E.164 format. Must include the
+ prefix followed by the country code and subscriber number (e.g. +244912345678 for an Angolan number).string
The contact’s email address. Required if you plan to target this contact via the
email channel.array
An array of contact list IDs to assign this contact to upon creation (e.g.
["lst_abc123", "lst_def456"]). You can also add contacts to lists later via the dashboard.Request Example
Response Fields
string
The unique contact identifier, prefixed with
cnt_ (e.g. cnt_def456).string
The contact’s full name as provided in the request.
string
The contact’s phone number in E.164 format.
string
The contact’s email address, if provided.
array
An array of contact list IDs the contact belongs to.
string
ISO 8601 UTC timestamp of when the contact was created.
201 Created):
Error Scenarios
List Contacts
Retrieve a paginated list of contacts on your account. Optionally filter by contact list.Query Parameters
string
Filter contacts by a specific contact list ID. Returns only contacts belonging to the specified list.
integer
Page number (default:
1).integer
Results per page (default:
50, max: 100).Request Example
Response Fields
array
An array of contact objects matching the query.
object
Pagination metadata.
Delete a Contact
Permanently remove a contact from your account by their ID:204 No Content with an empty response body.
Error Scenarios
Deleting a contact removes them from all contact lists they belong to and permanently excludes them from future campaigns. This action cannot be undone. If you simply want to stop targeting a contact in a specific campaign, remove them from the relevant contact list instead.
