curl --request POST \
--url https://integration.getmateo.com/api/v1/marketing_subscription \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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"
}'
{
"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"
}
Create a new marketing subscription
curl --request POST \
--url https://integration.getmateo.com/api/v1/marketing_subscription \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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"
}'
{
"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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Filtering Columns
marketing_subscription
The body is of type object
.
The updated Marketing Subscription object
The response is of type object
.