Easymailing
Email opt outs

Check a contact's opt-out from CRM email

GET /contacts/{contactUuid}/email_opt_out

GET/contacts/{contactUuid}/email_opt_out

Says whether the contact asked not to receive more emails sent from the CRM (by clicking the unsubscribe link of one), and which of their addresses and since when.

When to use: Before writing to a contact, or to answer why sending to someone returned recipient_opted_out.

When not to use: This opt-out only covers 1-to-1 emails sent from the CRM. It is independent from the subscription status of the contact in audiences and email campaigns (list_contact_audience_memberships). To check several addresses at once, use check_email_recipients.

Permissions: Requires a CRM seat and the crm.contacts_companies.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

contactUuid*string

UUID of the contact.

Formatuuid

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/contacts/3a9e1f57-0000-4000-8000-6c474d08b1a8/email_opt_out" \  -H "X-Auth-Token: YOUR_API_KEY"
{  "contact": "/entity/1",  "opted_out": true,  "opted_out_at": "2019-08-24T14:15:22Z",  "addresses": [    {}  ]}