Create Outbound Call

POST
https://api.callpod.ai/v1/outbound/calls

Headers

X-Api-Key
Required
string

Body

target_phone_number
Required
string

The phone number to call. Must be in E.164 format.

from_phone_number
Required
string

The phone number to call from. Must be in E.164 format.

agent_id
Required
string

The unique identifier of the agent making the call.

metadata
object

Any additional data to associate with the call. This will be passed to the agent for the call.

schedule
object

The date and time to schedule the call. If not provided, the call will be made immediately.

Example Request

POST
/v1/outbound/calls
{
  "target_phone_number": "+11234567890", // Replace with your target phone number
  "from_phone_number": "+11234567890", // Replace with your from phone number
  "agent_id": "00000000-0000-0000-0000-000000000000", // Replace with your agent ID
  "metadata": {
      "name": "John Smith",
      "age": 24
  }
}