GoliathDevelopersGet an API key
Reference/Call Listsgenerated from the gateway manifest

listCallLists

The call lists you can open.

POST/api/v1/callREADreadruns as the key's owner
View as Markdown

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.

curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listCallLists",
    "variables": {}
  }'
import { GoliathClient } from '@goliath-data/sdk'

const goliath = new GoliathClient({
  apiKey: process.env.GOLIATH_API_KEY!,
  baseUrl: 'https://server.goliathdata.com',
})

const result = await goliath.callLists.listCallLists({})
const res = await fetch('https://server.goliathdata.com/api/v1/call', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.GOLIATH_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    operationId: 'listCallLists',
    variables: {}
  }),
})
const { data, errors } = await res.json()

Variables

The example sends only what the schema requires. Some operations also need one of several optional variables (one filter or another, say); the description above says which.

status[String!]
mineBoolean
orgVisibleBoolean

Response

What comes back under data: a list shows as one entry, and a value as its type.

response shape
{
  "data": {
    "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
                }
              ]
            }
          }
        ]
      }
    }
  }
}

Errors

Behaviour

A read. It rejects an Idempotency-Key header with 400 bad_request.