Skip to main content
DELETE
/
contacts
/
{id}
/
lists
/
{listId}
Remove a contact from a list
curl --request DELETE \
  --url https://api.sendkit.dev/contacts/{id}/lists/{listId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Invalid API key."
}

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.

listId
string<uuid>
required

The list ID to remove the contact from.

Response

Contact removed from list successfully