# getTextingRegistrationStatus

The organization's A2P 10DLC texting registration, STATUS ONLY: each brand (`status`, `statusLabel`, `useCaseLabel`) and its sending campaigns (`sendReady` true = approved and able to text; `rejectionReasons` when a carrier refused it). Read-only: registering, resubmitting or retrying happens in the Goliath app (Settings → Phone → Registration). For whether the org can text at all right now, listCommunicationChannels' textingReadiness.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "getTextingRegistrationStatus", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

None.

## Response (data, an example)

```json
{
  "twilioQuery": {
    "a2pRegistrations": [
      {
        "id": "<ID>",
        "brandName": "…",
        "useCaseLabel": "…",
        "status": "DRAFT",
        "statusLabel": "…",
        "sendingCampaigns": [
          {
            "id": "<ID>",
            "status": "DRAFT",
            "statusLabel": "…",
            "sendReady": true,
            "rejectionReasons": [
              "…"
            ]
          }
        ]
      }
    ]
  }
}
```

## Example

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