For the complete documentation index, see llms.txt. This page is also available as Markdown.

List Call Flows

List all call and fax flows on account. Call and fax flows allow you to set routing decisions for your numbers and are required to attach a number to.

GET Request

https://v1.api19.com/dids/my/callflows

Send us a GET request with your key.

curl -X GET https://v1.api19.com/dids/callflows/list \
 -u 'api_token:api_token'
curl https://v1.api19.com/dids/callflows/list&key=apitoken \
{
    "status": "ok",
    "fax_flows": [
        {
            "id": "1",
            "name": "FaxNums 1",
            "emails_json": null,
            "emails_allowed_in": "[\"josh@gmail.com\"]"
        }
    ]
    "call_flows": [
        {
            "id": "1",
            "name": "Main Route",
            "user_id": "1",
            "json": "{\"dnis\":\"3424\",\"route1\":\"1.1.1.1\",\"sip_port1\":5060,\"route1_wait\":30,\"wait\":30,\"route2\":\"2.2.2.2\",\"sip_port2\":5060,\"route2_wait\":30}",
            "e164": "no"
        },
        {
            "id": "3",
            "name": "LA Servers",
            "user_id": "1",
            "json": "{\"route1\":\"device:694\",\"route1_wait\":13,\"sip_port1\":5060,\"wait\":13,\"dnis\":\"\",\"route2\":\"5.5.5.5\",\"sip_port2\":5060,\"route2_wait\":13,\"route1_simul\":\"device:1\"}",
            "e164": "no"
        }
    ]
}

Last updated