# addCallListContacts

Add contacts to the end of a call list, so they are called after everyone already on it. Needs you to have built the list or be an admin. Contacts already on the list, including ones removed earlier (`alreadyOnListCount`), ones its own rules cannot call (`cannotCallCount`) and ones past the 10,000 cap (`truncatedCount`) are left off and counted. At most 10,000 ids per call. Refused on an ENDED list.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "addCallListContacts", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `callListId`: `ID!` (required)
- `contactIds`: `[ID!]!` (required)

## Response (data, an example)

```json
{
  "callListsMutation": {
    "addCallListContacts": {
      "callList": {
        "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
            }
          ]
        }
      },
      "addedCount": 0,
      "alreadyOnListCount": 0,
      "cannotCallCount": 0,
      "truncatedCount": 0
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "addCallListContacts",
    "variables": {
      "callListId": "<callListId>",
      "contactIds": [
        "<contactIds>"
      ]
    }
  }'
```
