cURL
curl --request GET \ --url https://api.pocketflows.com/customers/{id}/unsubscribe_info \ --header 'Authorization: Basic <encoded-value>'
{ "unsubscribed_campaigns": [ "<string>" ], "unsubscribed_triggers": [ "<string>" ], "unsubscribed_from_all": true }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the customer
The marketing resources the customer has opted out of
The campaigns the customer has unsubscribed from
The triggers the customer has unsubscribed from
Whether the customer has opted out of all marketing