> For the complete documentation index, see [llms.txt](https://experience-crm.gitbook.io/experience-crm-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://experience-crm.gitbook.io/experience-crm-api/mailing-list/unsubscribe-opt-out.md).

# Unsubscribe / Opt Out

This API allows you to retrieve all unsubscribed customers.&#x20;

An unsubscribed customer can be any of the 4 states below:&#x20;

### Mail Ban&#x20;

This applies to customers that are unsubscribed for both marketing and transactional purposes.&#x20;

No email will be sent by the CRM to a customer with mail\_ban.&#x20;

### Marketing Decline&#x20;

This applies to customers that no longer wish to receive marketing communication.&#x20;

Those customers can still receive transactional emails.&#x20;

### SMS Ban&#x20;

This applies to customers that are unsubscribed out for all SMS, for both marketing and transactional purposes.&#x20;

No SMS will be sent by the CRM to this customer.&#x20;

### Marketing Decline SMS&#x20;

This applies to customers that no longer wish to receive marketing SMS.&#x20;

Those customers can still receive transactional SMS.

#### Available in this API:

{% content-ref url="/pages/dJqCfRr8pMrkRllub059" %}
[Get unsubscribed customer](/experience-crm-api/mailing-list/unsubscribe-opt-out/get-unsubscribed-customer.md)
{% endcontent-ref %}

{% content-ref url="/pages/Hl1iwTIlqxJaw9KW8Zye" %}
[Unsubscribe a list of customers](/experience-crm-api/mailing-list/unsubscribe-opt-out/unsubscribe-a-list-of-customers.md)
{% endcontent-ref %}
