# listCallLists

The call lists you can open: your own and the ones shared with your team, newest first (at most 50). Narrow with `status` (ACTIVE, PAUSED, ENDED) and with `mine` / `orgVisible` (set either and the pair is exact). Each list has its progress (`counts`: total, pending, completed, skipped, dials placed and outcomes), its frozen build rules, who built it, who is dialing it right now (`lockedByUser`, null when free) and `dialPath`, the in-app path that opens it in the dialer.

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

## Variables

- `status`: `[String!]`
- `mine`: `Boolean`
- `orgVisible`: `Boolean`

## Response (data, an example)

```json
{
  "callListsQuery": {
    "callLists": {
      "items": [
        {
          "id": "<ID>",
          "name": "…",
          "status": "…",
          "visibilityScope": "…",
          "maxNumbersPerContact": 0,
          "includeRelatives": true,
          "overrideDnc": true,
          "overrideLitigator": true,
          "cursorPosition": 0,
          "startedAt": "2026-01-01T00:00:00.000Z",
          "endedAt": "2026-01-01T00:00:00.000Z",
          "dialPath": "…",
          "createdByUser": {
            "id": "<ID>",
            "firstName": "…",
            "lastName": "…"
          },
          "lockedByUser": {
            "id": "<ID>",
            "firstName": "…",
            "lastName": "…"
          },
          "reachedTag": {
            "id": "<ID>",
            "name": "…"
          },
          "counts": {
            "total": 0,
            "pending": 0,
            "completed": 0,
            "skipped": 0,
            "dials": 0,
            "byDisposition": [
              {
                "disposition": "…",
                "count": 0
              }
            ]
          }
        }
      ]
    }
  }
}
```

## Example

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