Skip to main content
POST
cURL
Unsubscribe a contact from email automation. Idempotent — if the contact is already unsubscribed, the existing reason and timestamp are kept.

Authorizations

Authorization
string
header
required

HTTP Basic Authentication using API Key and Secret Key. The credentials should be Base64 encoded in the format 'api_key:secret_key'. You can obtain your API Key and Secret Key from Feedspace → Automation → API (https://app.feedspace.io/automation/api).

Path Parameters

id
integer
required

Numeric contact ID.

Example:

8801

Body

application/json
reason
enum<string>
default:manual

Why the contact is being unsubscribed.

Available options:
manual,
one_click,
mailto,
spam_report,
hard_bounce,
complaint

Response

200 - application/json

Contact unsubscribed.

data
object