# listSmsOptOuts

Who opted out of texts (texted STOP, unsubscribed, carrier opt-out, blocked by a teammate), newest first: source, optedOutAt, reason, phoneNumber and the contacts you can see carrying it. Numbers no contact you see carries are never listed. Undeliverable numbers excluded.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listSmsOptOuts", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no
- Result cap: `limit` is clamped to 100, without an error

## Variables

- `limit`: `Int` (default `25`)
- `since`: `DateTime`

## Response (data, an example)

```json
{
  "contactQuery": {
    "smsOptOuts": {
      "items": [
        {
          "phoneNumber": "…",
          "source": "SMS_STOP",
          "reason": "…",
          "optedOutAt": "2026-01-01T00:00:00.000Z",
          "contacts": [
            {
              "id": "<ID>",
              "name": "…"
            }
          ]
        }
      ],
      "totalCount": 0,
      "notVisibleCount": 0,
      "hasMore": true,
      "truncated": true
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listSmsOptOuts",
    "variables": {}
  }'
```
