Skip to main content
POST
/
api
/
agents
/
{agent_id}
/
calls
Create Call
curl --request POST \
  --url https://api-in.getello.ai/api/agents/{agent_id}/calls \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{}'
{
  "status": 200,
  "message": "Message published successfully",
  "data": {
    "conversation_id": "6900b87ca70928b1224f0619",
    "call_status": "success"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs-in.getello.ai/llms.txt

Use this file to discover all available pages before exploring further.

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:
{ "customer_name": "Sri" }
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:
{
"conversation_id": "6900b87ca70928b1224f0619",
"call_status": "success"
}