Unsubscribe Contact
Unsubscribe a contact from all mail for your account.
This is an account-wide opt-out: the contact is held back from every campaign and
automation, regardless of which lists they belong to. On success the contact's
status becomes unsubscribed and subscription.is_unsubscribed becomes true.
The request is idempotent — unsubscribing a contact that is already unsubscribed
returns 200 with the same state.
To take a contact off a single list while leaving them mailable for the rest of your account, use Remove Contact from List instead — that removes list membership, it is not an opt-out.
Request
POST /contacts/{uuid}/unsubscribe
This endpoint takes no request body.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
uuid | string | Contact's UUID |
Example Request
curl -X POST "https://email.easy.tools/api/v1/contacts/550e8400-e29b-41d4-a716-446655440000/unsubscribe" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
Response
Success Response (200 OK)
Returns the full contact, identical in shape to Get Contact, with
status now unsubscribed.
{
"data": {
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"email": "john@example.com",
"first_name": "John",
"last_name": "Doe",
"phone": "+48123456789",
"external_id": "customer_123",
"language": "en",
"country_code": "US",
"lists": [
{
"uuid": "a3f1c5d2-7e84-4b9f-8c63-1d0e2f3a4b5c",
"name": "Newsletter"
}
],
"custom_fields": [],
"status": "unsubscribed",
"subscription": {
"is_unsubscribed": true,
"unsubscribed_at": "2026-06-27T10:00:00Z"
},
"deliverability": {
"is_suppressed": false,
"suppressed_at": null,
"is_bounced": false,
"last_bounce_type": null,
"last_bounced_at": null,
"is_complained": false,
"last_complained_at": null
},
"engagement": {
"last_sent_at": "2026-06-20T08:00:00Z",
"last_opened_at": "2026-06-21T19:03:00Z",
"last_clicked_at": null
},
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}
}
See Get Contact for the full field reference.
Error Responses
Not Found Error (404)
{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Contact with UUID '550e8400-e29b-41d4-a716-446655440000' not found"
}
}