> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.tradeguardins.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.tradeguardins.com/_mcp/server.

# On-demand Verification Calls

Use on-demand verification calls when you keep certificates of insurance (COIs) in your own system and only want TradeGuard to call the broker. A typical setup is an operator clicking **Verify** next to a COI in your app.

You send:

* the **insured** (the company the policies cover),
* the **certificate holder** (usually you),
* the **producer**, the insurance agency to call, with its phone number, and
* the **policies** to ask about.

TradeGuard places **one** AI phone call to the broker. When the call ends, you get a result for each policy.

## What TradeGuard does, and doesn't do

On-demand calls stand alone:

* **One call, placed right away**, whatever the hour.
* **No follow-ups.** No retries, no emails to the broker, no scheduled re-verification. If the broker doesn't answer, the call ends as `no_answer` and you decide whether to call again.
* **Nothing else changes.** No subcontractor, document, coverage, issue or monitoring run is created or read, and other organizations never see your calls.
* **Brokers who opted out aren't dialed.** If a broker has asked TradeGuard not to call them, the call ends as `not_dialed` with `failureReason: producer_opted_out`.

Each placed call is billable.

## 1. Get a key with the right scopes

In **Settings → API Keys**, create a key with:

* `verification_calls:write` to place calls, and
* `verification_calls:read` to read results.

Start in **Sandbox mode** (see the [Sandbox Guide](/getting-started/sandbox-guide)). Nothing is ever dialed in the sandbox.

```bash
export TG_KEY="ak_..."
export TG="https://api.tradeguardins.com"
```

## 2. Subscribe to the result webhook

In **Settings → Webhooks**, subscribe an endpoint to `verification_call.completed`. You can skip this and poll instead (step 4).

## 3. Place a call

```bash
curl -s -X POST "$TG/v1/verification-calls" \
  -H "Authorization: Bearer $TG_KEY" -H "Content-Type: application/json" \
  -d '{
    "insured": { "name": "Acme Roofing LLC", "address": "100 Main St, Kansas City, MO 64105" },
    "certificateHolder": { "name": "Your Company Inc", "address": "1 Builder Way, Kansas City, MO 64106" },
    "producer": { "name": "Midwest Insurance Agency", "phone": "(202) 555-0100" },
    "policies": [
      { "policyNumber": "GL-123456", "coverageTypes": ["general_liability"], "expirationDate": "2027-03-01" },
      { "policyNumber": "WC-987654", "coverageTypes": ["workers_compensation"], "expirationDate": "2027-03-01" }
    ],
    "externalId": "recA1b2C3d4",
    "idempotencyKey": "recA1b2C3d4-2026-10-09"
  }' | jq '.data | {id, status}'
```

```json
{ "id": "e5f6a7b8-c9d0-4e1f-8a2b-3c4d5e6f7081", "status": "queued" }
```

* `externalId` is your own id, such as an Airtable record id. It comes back on the call and the webhook.
* `idempotencyKey` makes retries safe. Send the same key again and you get the original call back instead of a second dial.
* A second call to the **same broker phone** while one is still `queued` or `in_progress` is refused with `409`.

## 4. Get the result

The webhook body looks like this:

```json
{
  "type": "verification_call.completed",
  "data": {
    "verificationCallId": "e5f6a7b8-c9d0-4e1f-8a2b-3c4d5e6f7081",
    "externalId": "recA1b2C3d4",
    "status": "completed",
    "verified": true,
    "failureReason": null,
    "policyResults": [
      { "policyNumber": "GL-123456", "result": "verified", "rawStatus": "verified" },
      { "policyNumber": "WC-987654", "result": "verified", "rawStatus": "verified" }
    ],
    "callSummary": "The agent confirmed both policies are active through 2027-03-01.",
    "durationSeconds": 184,
    "completedAt": "2026-10-09T18:04:00.000Z"
  }
}
```

Or poll the call. This read also includes the full transcript:

```bash
curl -s "$TG/v1/verification-calls/$CALL_ID" -H "Authorization: Bearer $TG_KEY" \
  | jq '.data | {status, verified, policyResults, callSummary}'
```

A call usually finishes within a few minutes. If no outcome arrives within 45 minutes, it ends as `failed` with `failureReason: no_result_from_call_provider`.

### Reading the result

| `status`                 | Meaning                                                                                                                                           |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `queued`, `in_progress`  | Not finished yet.                                                                                                                                 |
| `completed`              | The broker answered. Read `policyResults`.                                                                                                        |
| `no_answer`, `voicemail` | The broker wasn't reached, including a call transferred into someone's voicemail before anyone answered about the policies. Nothing else happens. |
| `failed`                 | The call couldn't be placed or no result came back. See `failureReason`.                                                                          |
| `not_dialed`             | Sandbox, or a broker who opted out of calls. See `failureReason`.                                                                                 |

Each policy result is one of:

| `result`           | Meaning                                           |
| ------------------ | ------------------------------------------------- |
| `verified`         | The broker confirmed the policy is in force.      |
| `canceled`         | Canceled, expired or not in force.                |
| `unable_to_verify` | The broker couldn't confirm it.                   |
| `not_reported`     | The call ended without an answer for this policy. |

`verified` on the call is `true` when every policy was verified, `false` when any policy was canceled, and `null` otherwise.

## Sandbox phone numbers

In the sandbox, nothing is dialed. Use these producer phone numbers to simulate an outcome:

| Producer phone   | Outcome                                             |
| ---------------- | --------------------------------------------------- |
| `(202) 555-0100` | `completed`, every policy `verified`                |
| `(202) 555-0101` | `completed`, every policy `canceled`                |
| `(202) 555-0102` | `no_answer`                                         |
| anything else    | `not_dialed`, `failureReason: sandbox_organization` |

## Limits

* Up to 10 policies per call.
* Up to 25 calls `queued` or `in_progress` per organization at once (`429` beyond that).
* One call at a time per broker phone number (`409`).

See the [API Reference](/api-reference/on-demand-verification-calls) for every field.