Lead callback
Give your website form, CRM or automation a URL to post new leads to, and the agent rings each lead back within seconds, knowing what they asked about.
A lead callback is a URL your website form, CRM or automation posts each new lead to. The agent then rings the lead back from one of your numbers, within seconds during calling hours, and already knows what they asked about.
Availability
Lead callback comes with the Growth plan and above, and with a custom plan
that includes it. See pricing. On
Starter, setting one up is refused with plan_feature_locked, and a URL whose
workspace has moved to a plan without it answers 402 with the same error.
The URL and its settings are kept, so it works again once the plan includes it.
Set it up
There is no page for it in the app yet. Ask the Builder on the agent, or your
own assistant through the MCP server,
to set up a lead callback. Both run the set_lead_callback operation, which
the REST API also takes.
The first set-up needs the number the lead sees the call coming from: one of your workspace's numbers. It returns the URL. Copy it then, because it is shown only when it is made. To get a new one, ask for the URL to be rotated: the old URL stops working at once.
The URL is a secret. Whoever has it can make the agent ring a number, so keep it out of public page source and rotate it if it leaks. Switching the lead callback off keeps the URL, and switching it back on restores the same one.
You can also set:
| Setting | What it does |
|---|---|
| Brief | Instructions for these calls, up to 4,000 characters: what to ask, what to capture, when to transfer. |
| Opener | A fixed first line, up to 500 characters, spoken the moment the lead answers (how it starts). Without one, the agent writes its own opener from the lead's details, which is slower. |
| Calling hours | When calls may be placed. The default is the Telemarketing Standard hours (below). |
| Time zone | The time zone the calling hours are read in. Defaults to the agent's. |
| Ring time | How long each call rings, 10 to 60 seconds. Default 25. |
An opener can greet the lead by name, or use any field the form sent, with a fallback after a bar:
Hey {{first_name|there}}, it's Emma from Harbour Plumbing.Calls answer on the published agent, and are billed like any other call.
Post a lead
Send a POST to the URL with the lead's details as JSON, a form-encoded body
or multipart form data. A website form can post to it straight from the
browser.
curl https://app.verticalai.com.au/api/lead-callback/<token> \
-H 'Content-Type: application/json' \
-d '{"first_name": "Dana", "last_name": "Whitlock", "mobile": "0412 345 678", "enquiry": "Quote for a deck"}'| Field | Names it accepts |
|---|---|
| Phone number, required | phone, phone_number, mobile, mobile_number, tel, telephone or number |
| Name | name or full_name, or first_name and last_name |
| Time zone | timezone, an IANA name such as Australia/Perth. The calling hours are then read in the lead's own time zone. |
| Anything else | Every other text field, up to 20, becomes part of the lead form details below |
Field names ignore case, and spaces and hyphens count as underscores, so
Phone Number works. Only Australian mobile and landline numbers are called.
A body is limited to 16 KB, a field name to 60 characters and a value to 300.
The URL answers:
| Status | Body | Means |
|---|---|---|
202 | {"status": "calling", "id": "...", "session_id": "..."} | The agent is ringing the lead now. |
202 | {"status": "scheduled", "id": "...", "dialAt": "..."} | The lead arrived outside calling hours, or while every line was busy, and will be rung at dialAt. |
200 | {"status": "duplicate"} | That number is already being rung or waiting to be rung. |
422 | missing_phone or invalid_phone | No phone field, or not an Australian number. |
409 | agent_not_published, from_number_not_owned, queue_full, trigger_daily_cap or no_calling_window | The lead was recorded and not rung. |
402 | plan_feature_locked or billing_blocked | The plan or the account's billing stops the call. |
502 or 503 | dial_failed or unavailable | The call could not be placed. |
400, 413 or 415 | invalid_body, payload_too_large or unsupported_media_type | The body could not be read. |
429 | rate_limited | Too many leads. Wait for the Retry-After header. |
404 | not_found | The URL is wrong, rotated or switched off. |
The id is the lead's request id. It is the leadRequestId on the lead's
webhook events and on the call's own events.
What the agent knows on the call
Each call carries a note for the agent:
- that this is an outbound call returning an enquiry the lead sent your business, so it says who it is and which business it's calling from,
- the lead's local time,
- your brief, if you set one,
- the lead form details: the lead's name and every other field the form sent, up to 1,500 characters in all.
The lead form details are marked as what the lead typed into a form. The agent treats them as information about the enquiry, never as instructions, and never takes a price, promise or policy written there as true.
The call checks and the call summary are given your brief and the lead form details too, marked as what the agent knew at the start of the call. An agent that repeats the lead's answers back to them isn't marked as making them up.
To have the agent say it's an AI assistant, turn on the agent's AI disclosure on its Privacy page. It's off unless the agent or the workspace default turns it on, and when it's on, a lead callback speaks the line before the agent's opener, as an inbound call does. See Consent and disclosure.
Calling hours
By default calls are placed only in the Telemarketing Standard hours: Monday to
Friday 9:00 to 20:00, Saturday 9:00 to 17:00, never on a Sunday or a national
public holiday. A lead who arrives outside them is rung when the hours next
open. A lead still waiting a day after that time is dropped as expired.
You can narrow or widen the hours with your own calling hours: one range, an opening and a closing time in 24-hour time, on the days of the week you choose. Calls start from the opening time and before the closing time. A range can run overnight, such as 22:00 to 06:00. The closing time can be 24:00, the end of the day, but the opening time can't.
To ring leads back at any hour, 24/7, set the hours to 00:00 to 24:00 on all seven days. Your own hours never skip public holidays: only the default hours do, so 00:00 to 24:00 rings on Christmas Day too.
A prompt callback that answers the lead's own enquiry is not a telemarketing call under the Do Not Call Register Regulations 2017, but widening the hours is your decision, so check it with your adviser.
The do-not-call check
Before ringing, the platform checks the number against your workspace
do-not-call list. A number on it is never
rung. The URL answers as it does for a duplicate, and the request is recorded
as rejected with the reason do_not_call.
On every lead callback the agent can also put the lead on that list when they ask not to be called again, whether or not its tools include Add to do-not-call list.
Texts during the call
The agent can text the lead during the call, and your hang-up and post-call automations can text them after it. By default those texts go from the sender name VerticalAI, which the lead cannot reply to.
We're turning on a change workspace by workspace. Once it's on for yours, and the lead callback rings from an Australian mobile, every text for that call goes from that mobile and ends with your business name (the workspace's name) and Reply STOP to opt out. A reply to the mobile within 90 days is handled:
- STOP, or another way of asking to stop, puts the number on your do-not-call list, so the lead is never rung again from a lead callback or a campaign.
- Any other reply is emailed, with a link to the call, to the workspace's notification recipients, the same people who get campaign SMS replies.
A landline or a 1800 number keeps the VerticalAI sender, because only a mobile can send texts and take replies. Ask us to turn it on for your workspace.
Limits
Each URL accepts up to 60 leads an hour, places up to 300 calls a day and holds up to 200 leads waiting for calling hours. A number is never rung twice at once.
A lead that can't be rung because your workspace is at its limit of calls at once, or the platform is at capacity, is not failed. It waits and is rung about 30 seconds later, still inside calling hours.
Follow the leads
Two webhook events report each
lead: lead.received when the URL records it, and lead.updated when it
reaches its final status. Both carry leadRequestId. When the agent rings the
lead, that call's conversation.ended and call_log.completed events carry
the same leadRequestId, so you can join the lead to its call.
To check a lead by hand, ask the Builder or your assistant to read the lead
callback. The get_lead_callback operation lists the requests newest first,
each with its status, reason and call. Requests are kept for 30 days.