Knowledge Center עברית Log in
Topics

How to trigger calls through the API

Updated October 1, 2026 1 min read

Every lead your system sends enters a dial list, and the agent calls it. You set up the list, and your developer connects the website or CRM to it.

  1. On the agent page click "Configure", then "Outbound calls"

  2. Under "What starts a call?" choose "API" and click "Set up"

    The question What starts a call, with API selected and the Set up button below it
  3. Name the list and click "Next"

  4. Mark which details your system sends for each lead, and click "Done"

    Phone is always sent. Any other field reaches the agent when the script has a variable with the same name. "+ Field" adds a new one.

    The window What will your system send for each lead: Phone, first_name, car_model and the option to add a field
  5. The list is created off

    The defaults: every lead, during calling hours, one attempt. Change them in the "Who", "When" and "How much" rows.

    An API list card in the Off state, with the rows Connection, Who, When and How much and the buttons Send to a developer and Test now

How do I send the details to my developer?

  1. On the list card click "Send to a developer"

  2. Click "New key"

    Only then does the link also include the key.

    The Connection window after creating a new key: the link shows the developer the address, the fields, an example and the key once
  3. Send the link with "Copy message" or "Share"

For developers

The developer page: a notice that the list is off and the table of fields phone, first_name and car_model
Example request
curl -X POST '<ADDRESS_FROM_DEVELOPER_PAGE>' \
  -H 'Authorization: Bearer <API-KEY>' \
  -H 'Content-Type: application/json' \
  -H 'X-Idempotency-Key: lead-48213' \
  -d '{
    "phone": "+9725XXXXXXXX",
    "first_name": "Dana",
    "car_model": "Mazda 3"
  }'
Request fields
FieldDescription
phonestringRequiredThe lead's phone number, as a string.
first_name, car_model…stringOptionalA field named like a variable in the script reaches the agent.
X-Idempotency-KeyheaderOptionalA repeated request with the same value does not create a duplicate lead.
  • 202: the lead was accepted. The response carries a jobId.
  • 200 with "status": "skipped": the list is off.
  • 422: the phone is missing or invalid.
  • 401: the key is missing or wrong.
  • 429: too many requests in a minute.

How do I test and turn it on?

  1. Click "Test now" and enter your number

    The agent calls you even while the list is off. The number is saved as a test number.

  2. Turn on the switch on the list card

    "On" appears next to the title. "Journal" shows what happened to each lead.

See also: how the agent calls leads from your CRM and how to use the customer's name in a call.

More in this topic

    ↑↓Navigate EnterOpen EscClose Searching English articles · עברית