Skip to main content
POST
Make Call

Authorizations

string
required
Enter your ContactSwing JWT Bearer token.

Path Parameters

string
required
ID of the AI agent to handle the call.

Request Body

string
required
Phone number in E.164 format. Example: +1234567890
string
Name of the person being called. Example: John Doe
string
Purpose or reason for the call. Example: Appointment confirmation

Response

200 OK - Call initiated successfully
string
Request context ID
object
string
Initiated call session ID
string
Call status
string
Agent handling the call
string
“Request processed successfully”
400 Bad Request - Invalid request parameters 401 Unauthorized - Invalid or missing token 500 Internal Server Error - Server error

Example