Skip to main content
POST
Create Call

Authorizations

X-API-Key
string
header
required

Path Parameters

agent_id
string
required

Unique identifier of the agent initiating the call.

Body

application/json
to_number
string
required
Example:

"+911234556789"

agent_type
string
required
Example:

"telephonic"

message
string
Example:

"Hello! Am I speaking to Sri?"

context_data
object
Example:
source
string
Example:

"web"

workspace_id
string
Example:

"6970c2f3948cfbce1932d99d"

name
string
Example:

"Sri"

hook_url
string
Example:

"https://example.com/webhook/call-events"

siptrunk_id
string
Example:

"s3434ededs"

memory_id
string
Example:

"mem_123"

greeting_description
string
Example:

"Friendly greeting, sales tone"

call_type
string
Example:

"outbound"

Response

Message published successfully

status
integer
Example:

200

message
string
Example:

"Message published successfully"

data
object
Example: