Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
agent_id
string<uuid>
required

The UUID of the voice agent that will place the call.

requested_at
string<date-time>
required

The earliest time the call may be placed. Accepts ISO 8601 format with a timezone offset (e.g. '2026-08-03T14:30:00Z' or '2026-08-03T09:30:00-05:00'). A time in the past means as soon as the agent's calling hours allow. May be at most 90 days in the future.

contact
object
required

The contact to call. Contacts are matched on ext_id, email or phone_number and created when no existing contact matches, as they are on the Upload Recording endpoint. A phone number is required — there is nothing to dial without one.

expires_at
string<date-time>

The time past which the call is no longer worth placing, for example because the appointment it is about has happened. If no call can be placed before it, the task fails instead of calling late. Defaults to five days after requested_at, and must be after it.

custom_fields
object[]

Custom fields to set on the customer interaction created for this call. Each key must match the field_name of a Customer interaction custom field defined in your Alpharun dashboard; entries whose keys don't match a definition are ignored.

ext_id
string

Your own identifier for the call task, for example the ID of the appointment it is about. Submitting it again while the task is still live returns the existing task instead of scheduling a second call.

Maximum string length: 255

Response

A live call task with the same ext_id already exists and is returned unchanged

data
object