# Get DND

> A contact's Do-Not-Disturb settings.

Source: https://docs.mycrmsim.com/docs/contacts/get-contact-dnd

```http
GET https://backend.mysmsgateway.app/api/v1/ext/contacts/{id}/dnd
```

- Category: myCRMSIM Contacts / Contacts
- Auth: Bearer access token
- Scope: `contacts.read`

Each direction is either **all channels** (`all: true`) or a list of specific channels (`sms`, `whatsapp`, `imessage`, `rcs`). Outbound DND stops sends to the contact on those channels — a send answers **409** with `reason: "dnd"`; inbound DND stops the AI agent and automations from reacting to the contact's messages there. Same settings as the contact panel and the "Set Contact DND" automation action.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | number | yes | The contact id. Example: `1234` |

## Response 200

OK

```json
{
  "success": true,
  "data": {
    "contact_id": 1234,
    "workspace_id": 7,
    "dnd": {
      "outbound": {
        "all": false,
        "channels": [
          "sms",
          "whatsapp"
        ]
      },
      "inbound": {
        "all": false,
        "channels": []
      }
    }
  }
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): contacts.read. This integration was granted: …"
}
```

## Response 404

Contact does not exist or is not owned by the installer (same response for both)

```json
{
  "success": false,
  "message": "Contact not found or not accessible to this token"
}
```
