Skip to main content
POST
Create Call Transfer Action

Authorizations

string
required
Enter your ContactSwing JWT Bearer token.

Request Body

string
required
Action display name. Example: My Call Transfer Action
string
required
Action purpose. Example: Transfer to human when user requests agent or is unhappy
string
required
When to trigger: "DURING"
string
required
Action type: "CALL_TRANSFER"
string
required
Destination phone number. Example: "12817126508"
object
Webhook configuration
boolean
Enable extension support. Example: false
string
Custom speech prompt before transfer
boolean
Execute actions before transfer

Webhook Configuration

boolean
Enable extension dialing

Response

201 Created - Call transfer action created successfully
string
Request context ID
object
string
New transfer action ID
string
Action name
string
”CALL_TRANSFER”
400 Bad Request - Invalid phone number or missing fields 401 Unauthorized - Invalid token