# getDialingPool

The org's bulk-dialing rotation: each line (id, number, label), its calls today against its daily limit and restUntil, and the day's room.

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

## Variables

None.

## Response (data, an example)

```json
{
  "dialingPoolQuery": {
    "poolView": {
      "lines": [
        {
          "id": "<ID>",
          "e164Number": "…",
          "label": "…",
          "isDialingPoolLine": true,
          "dialing": {
            "callsToday": 0,
            "dailyLimit": 0,
            "restUntil": "2026-01-01T00:00:00.000Z"
          }
        }
      ],
      "room": {
        "roomToday": 0,
        "linesInRotation": 0,
        "linesResting": 0
      }
    }
  }
}
```

## Example

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