API
Create Contact

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

ParamTypeRequiredNotes
emailstringyes (or email_id)The email of the contact
email_idstringyes (or email)The recipient ID to attach to the contact
first_namestringyesThe contacts first name
last_namestringnoThe contacts last name

email (required)

type: string

email_id (required)

type: string

first_name (required)

type: string

last_name

type: string