# getMetaPageIntakeAssignments

Each Facebook Page's own intake assignment (who gets the contacts its Lead Ads create), through the key owner's own Facebook sign-in as listIntegrations reads the Pages; null for a Page nobody has configured. Only the Pages that sign-in reaches: [] when the key owner has not connected Facebook, which does not mean no Page is routed (the admin who connected it sees them). Admins only.

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

## Variables

None.

## Response (data, an example)

```json
{
  "oauthQuery": {
    "listFacebookPages": [
      {
        "id": "…",
        "name": "…",
        "connected": true,
        "assignmentPolicy": {
          "id": "<ID>",
          "assigneeUserIds": [
            "<ID>"
          ],
          "participantUserIds": [
            "<ID>"
          ],
          "teamIds": [
            "<ID>"
          ],
          "tags": [
            "…"
          ],
          "agentAssigneeIds": [
            "<ID>"
          ],
          "workflowGroupIds": [
            "<ID>"
          ]
        }
      }
    ]
  }
}
```

## Example

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