Building blocks
The API and the webhook payload use the older word batch for a campaign, so a campaign’s ID is
batchId or batch_id.Campaign types
The life of a contact
From the moment you add a contact until its final result, a contact moves through the same stages. Step through them below.When calls are placed
Calls are placed only when all of these are true:- Today is one of the campaign’s allowed days and not on its holiday list.
- The current time, in the campaign’s timezone, is inside its calling hours.
- The campaign isn’t paused.
- A line is free. Your account has a concurrency limit: the number of calls that can be live at the same time. weya sets it for your account. Contacts beyond it wait until a call ends.
Retries
A campaign’sretry setting is the maximum number of attempts per contact (1 to 10), and delay is the wait between attempts in minutes (5 to 1440). When an attempt ends without the outcome you need, for example no answer, weya schedules the next attempt for delay minutes later, still inside the calling window. The webhook’s next_attempt_after field tells you when it is due.
While a retry is waiting, the contact’s latest attempt still shows the previous call’s status. Agents with Retry on voicemail turned on also retry calls that reach voicemail.
Call statuses
Every attempt ends with one of these statuses, sent ascallStatus in the webhook:
Results
When a call ends, weya analyses the conversation using the agent’s post-call metrics and sends a result to every destination attached to the campaign: a webhook, a CRM or a Google Sheet. The result includes the status, duration, recording, the metric values incall_analysis, the contact’s variables in lead_data, and call_outcome.
Next steps
Create a campaign
Set up calling days, hours and retries in the dashboard.
Call result webhooks
Receive each result in your own system.

