Create Contact (Pro Feature)
Create a contact via post to the /api/contacts/ endpoint.
Example Response
{
"data": {
"first_name": "levi",
"last_name": "test",
"email": {
"id": "d2c4790f-d5eb-47f8-9575-9364799cb114",
"destination": "test@example.com",
"status": "subscribed"
},
"id": "f4f3b5e8-4b8c-4699-aa43-91bda97bc26d",
"inserted_at": "2025-01-03T19:54:56Z",
"updated_at": "2025-01-03T19:54:56Z"
}
}Example Body
{
"email": "test@example.com",
"first_name": "levi",
"last_name": "test"
}Body Parameters
| Param | Type | Required | Notes |
|---|---|---|---|
| string | yes (or email_id) | The email of the contact | |
| email_id | string | yes (or email) | The recipient ID to attach to the contact |
| first_name | string | yes | The contacts first name |
| last_name | string | no | The contacts last name |
email (required)
type: string
email_id (required)
type: string
first_name (required)
type: string
last_name
type: string