# Zapier guide (/docs/zapier)

CallHuman works in **Zapier** with **Webhooks by Zapier**: one Zap places the call and another receives the answer and continues by what the person chose.

You need a CallHuman API key (dashboard → **Developers → API keys**). Webhooks by Zapier is available on Zapier's paid plans.

## 1. Create the Zap that receives the answer [#1-create-the-zap-that-receives-the-answer]

1. Create a Zap with the trigger **Webhooks by Zapier → Catch Hook**.
2. Copy the webhook URL Zapier gives you (`https://hooks.zapier.com/hooks/catch/…`).
3. Leave it ready to test: in step 3 you'll send a real call so Zapier learns the fields.

## 2. Place the call [#2-place-the-call]

In the Zap where something happens (a new booking, a form, a payment), add the action **Webhooks by Zapier → Custom Request**:

| Field | Value |
|---|---|
| **Method** | `POST` |
| **URL** | `https://api.callhuman.es/v1/calls` |
| **Data** | The call, as below |
| **Headers** | `Authorization`: `Bearer ch_live_…` and `Content-Type`: `application/json` |

```json
{
  "to": "+34600111222",
  "language": "en",
  "message": "Hi! This is La Plaza about your table for 4 tonight at 8:30 pm.",
  "options": [
    { "id": "confirm", "label": "Confirm", "reply": "Perfect, see you tonight." },
    { "id": "cancel", "label": "Cancel", "reply": "Done, your booking is cancelled." }
  ],
  "webhook_url": "https://hooks.zapier.com/hooks/catch/your-hook-id",
  "metadata": { "booking_id": "bk_1042" }
}
```

Map the phone number, the message and your IDs from earlier steps, and put the URL from step 1 in `webhook_url`. CallHuman answers `202` with the call `id` and the phone rings a few seconds later. All fields are explained in [`POST /v1/calls`](/docs/api-reference/createCall); for a one-way message, leave out `options`.

## 3. Continue by the answer [#3-continue-by-the-answer]

1. Test the call Zap with your own phone number and answer. The result reaches the Catch Hook with `id`, `status`, `option_id`, `option_label`, `answer_method`, `answer_transcript` and your `metadata`.
2. After the trigger, add **Paths by Zapier** with one path per answer:

| Path | Rule |
|---|---|
| Confirmed | `Option Id` exactly matches `confirm` |
| Cancelled | `Option Id` exactly matches `cancel` |
| No answer | `Status` does not exactly match `answered` |

3. Add what should happen on each path, using `metadata` to find your record. On plans without Paths, use one Zap per answer with a **Filter** step.

See every possible `status` in [Webhooks](/docs/webhooks#statuses).

## Tips [#tips]

- **Keep the Catch Hook URL private.** For extra safety, send a random value in `metadata` and check it with a Filter.
- **Retries.** Add `"retries": 2` and `"retry_delay_seconds": 1800` to try again 30 minutes later if nobody answers. The answer arrives once, when the call has ended.
- **Prefer a single flow that waits for the answer?** Use our [n8n node](/docs/n8n). AI agents can use the [MCP server](/docs/mcp).