Skip to main content
POST
/
contacts
/
{id}
/
lists
Add a contact to lists
curl --request POST \
  --url https://api.sendkit.dev/contacts/{id}/lists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "list_ids": [
    "550e8400-e29b-41d4-a716-446655440000",
    "660e8400-e29b-41d4-a716-446655440000"
  ]
}
'
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "email": "john@example.com",
  "first_name": "John",
  "last_name": "Doe",
  "user_id": "ext_123",
  "unsubscribed": false,
  "properties": {
    "COMPANY": "Acme",
    "PLAN": "pro"
  },
  "lists": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Newsletter",
      "created_at": "2026-03-03 10:00:00",
      "updated_at": "2026-03-03 10:00:00"
    }
  ],
  "created_at": "2026-03-03 10:00:00",
  "updated_at": "2026-03-03 10:00:00"
}

Authorizations

Authorization
string
header
required

API key from your SendKit dashboard. Pass it as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

The contact ID.

Body

application/json
list_ids
string<uuid>[]
required

IDs of the lists to add the contact to.

Minimum array length: 1
Example:
[
"550e8400-e29b-41d4-a716-446655440000",
"660e8400-e29b-41d4-a716-446655440000"
]

Response

Contact added to lists successfully

id
string<uuid>

Unique identifier.

Example:

"550e8400-e29b-41d4-a716-446655440000"

email
string<email>

The contact's email address.

Example:

"john@example.com"

first_name
string | null

The contact's first name.

Example:

"John"

last_name
string | null

The contact's last name.

Example:

"Doe"

user_id
string | null

An external user identifier from your application.

Example:

"ext_123"

unsubscribed
boolean

Whether the contact has unsubscribed.

Example:

false

properties
object

Custom property values. Keys are uppercased property names.

Example:
{ "COMPANY": "Acme", "PLAN": "pro" }
lists
object[]

Lists this contact belongs to.

created_at
string<date-time>

When the contact was created.

Example:

"2026-03-03 10:00:00"

updated_at
string<date-time>

When the contact was last updated.

Example:

"2026-03-03 10:00:00"