Skip to main content

Callflows

The Callflows API allows you to create and manage call routing flows that define how incoming and outgoing calls are handled.

Base URL​

https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/callflows

Overview​

Callflows are the core routing mechanism in Audian. They define the sequence of actions that occur when a call matches certain criteria (like a phone number or pattern). Use callflows to build IVR menus, ring groups, time-based routing, and more.

Endpoints​

MethodEndpointDescription
GET/callflowsList all callflows
PUT/callflowsCreate new callflow
GET/callflows/{CALLFLOW_ID}Get callflow details
POST/callflows/{CALLFLOW_ID}Update callflow
DELETE/callflows/{CALLFLOW_ID}Delete callflow

List Callflows​

curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/callflows" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Accept: application/json"

Response​

{
"auth_token": "{AUTH_TOKEN}",
"data": [
{
"id": "callflow_abc123",
"name": "Main IVR",
"numbers": ["+15551234567"],
"flow": {
"module": "menu",
"data": {}
}
}
],
"request_id": "{REQUEST_ID}",
"status": "success"
}

Search Callflows​

Search by number:

curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/search?t=callflow&q=number&v=5551234567" \
-H "X-Auth-Token: {AUTH_TOKEN}"

Search by name and number:

curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/search?t=callflow&q=name_and_number&v=main" \
-H "X-Auth-Token: {AUTH_TOKEN}"

See Also​

Documentation In Progress

This documentation is being expanded. Check back soon for complete API reference.