Skip to main content
POST
Place Call

Authorizations

X-API-Key
string
header
required

Your organization's API key (account in the bottom-left of the dashboard → Brosbots API).

Headers

authorization
string | null
X-API-Key
string | null

Path Parameters

agent_id
required

The agent's ID: the public agent_ + 20 characters identifier shown in the dashboard (recommended), or the legacy number. Both address the same agent.

Pattern: ^agent_[A-Za-z0-9]{20}$
Example:

"agent_7fK2mQ9xLp3RtV8wYb1N"

Body

application/json
phone_number
string
required

Number to call, in E.164 format.

Example:

"+48123456789"

initial_context
object | null

Variables the agent can use as {{initial_context.}} in its prompts. A sibling of phone_number, not a wrapper around it.

Example:

Response

Successful Response

status
string
required
Allowed value: "initiated"
workflow_run_id
integer
required

The conversation to read afterwards: GET /agents/{agent_id}/conversations/{conversation_id}.

workflow_run_name
string
required