Marketing Email: Unsubscribe
Record a durable opt-out for a subscriber within one merchant domain.
Endpoint
/v1/unsubscribe
https://api.ozibus.com.au/v1/unsubscribe
Unsubscribe a contact
Marks the matching merchant/domain contact as opted out so future campaigns can honour the suppression decision.
JSON body
{"id":"CONTACT_REFERENCE_FROM_GET_SUBSCRIBERS","source_domain_id":"587980a6-d5f1-45fe-a9cf-4c3ededd02f1"}Both fields are required. A contact reference from another merchant or domain is rejected.
GET
/v1/unsubscribe
Request to /v1/unsubscribe
Headers
| Name | Description | Required |
|---|---|---|
| API-Key | YOUR_API_KEY | Yes |
| Merchant-Id | YOUR_MERCHANT_ID | Yes |
| Content-Type | application/json | Yes |
Request Body
| Parameter | Type | Description | Required |
|---|---|---|---|
| id | string | Yes | |
| source_domain_id | string | Yes |
Was this page useful?Your response helps us improve the developer journey.