Jump to content

Callflow Name with API


Recommended Posts

how would i fill out the Callflow Name via API?

for example i have this code, where do i put the call flow name?

http://api.zzzz.com:8000/v2/accounts/xxxxxxxxxxxxxxxxxxxxxxxxx/callflows -d '{"data":{"flow":{"data":{"action":"static","caller_id":{"number":"7777777777","name":"ABC"}},"module":"dynamic_cid","children":{"_":{"data":{"pin":"","use_account_caller_id":false,"interdigit":"7000","preconnect_audio":"dialtone"},"module":"disa","children":{}}}},"numbers":["*1000"],"patterns":[],"id":""}}'



Link to comment
Share on other sites

Hi @Tuly,

To define the name of a callfow, you will have to create a `name` property at the root level of your callfow object.

In your case, it would look like this:

    "data": {
        "name": "Tuly's new callfow",
        "flow": { ... },
        "numbers": [
        "patterns": []

Also, unless you are updating an existing callfow, you do not have to add the `id` property, as it will be generated automatically upon creation of your callfow.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...