Skip to main content
POST
Start a new agent execution

Authorizations

X-API-Key
string
header
required

API key required for all endpoints

Path Parameters

agent_id
string
required

Body

application/json
message

Legacy format - Initial message to send to the agent (string)

Example:

"I need help with my order"

phone_number
string

WhatsApp phone number to associate with this execution

Example:

"+1234567890"

whatsapp_config_id
string<uuid>

Optional specific WhatsApp configuration to use for this execution

Example:

"config-123abc"

Response

Execution accepted

data
object