Skip to main content
POST
Create Aircall Action

Authorizations

string
required
Enter your ContactSwing JWT Bearer token.

Request Body

string
required
Action display name. Example: My Aircall Action
string
Action purpose. Example: Test
string
required
When to trigger: "DURING"
string
required
Action type: "AIRCALL"
object
required
Aircall webhook configuration
integer
required
Source number ID. Example: 1768408427
integer
required
Destination number ID. Example: 1768408427
boolean
Require Aircall response before proceeding
string[]
Call tags []

Response

201 Created - Aircall action created successfully
string
Request context ID
object
string
New Aircall action ID
string
Action name
string
”AIRCALL”
400 Bad Request - Invalid Aircall number IDs or configuration 401 Unauthorized - Invalid token