curl --request DELETE \
  --url https://integration.getmateo.com/api/v1/marketing_subscription \
  --header 'Authorization: Bearer <token>'
{
  "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "marketing_channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organisation_id": "random uuid",
  "created_at": "now()",
  "updated_at": "now()",
  "key": "<string>",
  "status": "requested",
  "channel_type": "email"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

select
string

Select columns to return

contact_id
string

Contact ID

marketing_channel_id
string

Marketing channel ID

organisation_id
string

Organisation ID

created_at
string

Marketing subscription creation date

updated_at
string

Latest update

key
string

Marketing subscription key

status
string

Status of Marketing subscription

channel_type
string

Channel Type of Conversation

Response

200
application/json
The updated Marketing Subscription object

The response is of type object.