📞
API Docs
  • Welcome
  • NUMBERS / ORDERING
    • List Areas
    • List Numbers
    • Order Numbers - No Cart
    • Delete Numbers
    • Change Call Forward
    • Vanity Tollfree - Search
    • Vanity Toll Free - Order
  • Shopping Cart Ordering
    • Add Number to Cart
    • List Numbers in Cart
    • Delete Number from Cart
    • Complete Order Cart
  • MY INVENTORY
    • List My Nmbers
    • List Call Flows
    • Change CallFlow
    • CDR Records
  • SMS/MMS
    • Send SMS
    • Send MMS
    • Receive SMS/MMS
    • Receive Delivery Receipts
  • Campaigns
    • Submit TollFree Campaign
  • CALL APIS
    • Calls
    • Set Incoming URL
    • Incoming Calls
    • Listing Calls
    • Making Calls
      • Example Code
        • Outbound to Tel#
        • Outbound to SIP Device
        • Example Responses
    • Modifying Live Calls
      • Examples
    • Recordings
      • Get List of Recordings
      • Delete a Recording
  • CALL API MARKUP
    • API Call Markup Language
      • Say
      • Dial
        • Number
        • Client
        • SIP
      • Play
      • Gather
      • Record
      • Hangup
      • Pause
      • Reject
      • Redirect
  • LOOKUPS
    • Carrier and CNAM
  • Number Portability
    • Validate Portability
    • Lookup Port Request
    • Submit Port Request
  • FAXING
    • Create Outbound Fax
    • Lookup Outbound Fax Status
    • List Faxes
    • Download File
  • registered agent
    • List Companies
    • List Registered Agents
    • List Documents
    • Download Document
    • Create Company
    • Delete Company
    • Create Registered Agent
    • Modify Registered Agent
Powered by GitBook
On this page
  1. MY INVENTORY

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"
        }
    ]
}
PreviousList My NmbersNextChange CallFlow

Last updated 4 days ago