# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://experience-crm.gitbook.io/experience-crm-api/mailing-list/unsubscribe-opt-out.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
