# getComplianceSite

The organization's A2P compliance site (the pages Goliath hosts for its texting registration): domain, live URLs, the facts it shows and the saved ones, and which facts are locked or editable. Null when none.

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

## Variables

None.

## Response (data, an example)

```json
{
  "complianceSiteQuery": {
    "site": {
      "domain": "…",
      "status": "…",
      "homeUrl": "…",
      "privacyUrl": "…",
      "termsUrl": "…",
      "contactUrl": "…",
      "facts": {
        "businessName": "…",
        "legalEntityName": "…",
        "tagline": "…",
        "contactEmail": "…",
        "contactPhone": "…",
        "contactName": "…",
        "contactTitle": "…",
        "markets": [
          "…"
        ],
        "seed": "…"
      },
      "saved": {
        "tagline": "…",
        "contactEmail": "…",
        "contactPhone": "…",
        "contactName": "…",
        "contactTitle": "…",
        "markets": [
          "…"
        ]
      },
      "lockedFacts": [
        "…"
      ],
      "editableFacts": [
        "…"
      ]
    }
  }
}
```

## Example

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