# setOrganizationTextDncSkip

Turn "Always skip National DNC numbers when texting" on or off. On, every workflow text step and AI employee text skips numbers on the National Do Not Call registry, whatever the step says. Calls and exports are not affected. Organization admins only.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "setOrganizationTextDncSkip", "variables": {...} }`
- Scope: `ADMIN`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `alwaysExcludeDncTexts`: `Boolean!` (required)

## Response (data, an example)

```json
{
  "organizationMutation": {
    "updateOrganizationTextCompliance": {
      "id": "<ID>",
      "alwaysExcludeDncTexts": true
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "setOrganizationTextDncSkip",
    "variables": {
      "alwaysExcludeDncTexts": true
    }
  }'
```
