Contacts
Opt a contact in or out of a group
PUT
Requires the subscription-group:write scope.
ApiKeyheader
Authorization<token>Api-Key mc_... — a workspace API key.
idOrEmail*stringgroupId*stringapplication/json- body
optedOut*booleancurl -X PUT 'https://api.mailcrate.io/public/contact/string/subscriptions/string' \ -H 'Authorization: Api-Key <api_key>' \ -H 'Content-Type: application/json' \ -d '{ "optedOut": true}'Example Response
Empty
List a contact's subscriptions GET
`idOrEmail` is the contact's id or email address. Requires the `subscription-group:read` scope.
Unsubscribe a contact DELETE
Marks the contact as unsubscribed. The record and its external identifiers are kept, so later events and sends still resolve to it; marketing sends to it are suppressed. Requires the `contact:write` scope.