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

Call Flows

List existing call flows.

get

Returns a shallow list of call flows without the full node tree. Use the single resource endpoint to retrieve the complete call flow including all nodes and branches.

Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Query parameters
start-indexinteger · int32Optional

an integer specifying the starting point (beginning with 0) when paging through a list of entities

Default: 0
max-resultsinteger · int32 · max: 100Optional

the maximum number of results when paging through a list of entities.

Default: 50
Responses
200

The call flows

application/json
idinteger · int64Optional
namestringOptional
get/call-flows
GET /api/call-flows HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200

The call flows

[
  {
    "id": 1,
    "name": "text",
    "assignedNumber": {
      "id": 1,
      "name": "text",
      "phoneNumber": {
        "regionCode": "text",
        "number": "text"
      }
    },
    "teams": [
      {
        "id": 1,
        "name": "text"
      }
    ],
    "managedBy": {
      "type": "API",
      "source": "text"
    }
  }
]

Create a new call flow.

post
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Body
idinteger · int64Optional
namestringRequired
languagestring · enumRequiredPossible values:
Responses
201

The newly created call flow

application/json
idinteger · int64Optional
namestringRequired
languagestring · enumRequiredPossible values:
post/call-flows
POST /api/call-flows HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 552

{
  "id": 1,
  "name": "text",
  "language": "de",
  "assignedNumber": {
    "id": 1,
    "name": "text",
    "phoneNumber": {
      "regionCode": "text",
      "number": "text"
    }
  },
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "textMessage": "text",
      "customAudioUrl": "text",
      "language": "en",
      "aiVoiceModel": "emma"
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "textMessage": "text",
            "customAudioUrl": "text",
            "language": "en",
            "aiVoiceModel": "emma"
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  }
}
201

The newly created call flow

{
  "id": 1,
  "name": "text",
  "language": "de",
  "assignedNumber": {
    "id": 1,
    "name": "text",
    "phoneNumber": {
      "regionCode": "text",
      "number": "text"
    }
  },
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "textMessage": "text",
      "customAudioUrl": "text",
      "language": "en",
      "aiVoiceModel": "emma"
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "textMessage": "text",
            "customAudioUrl": "text",
            "language": "en",
            "aiVoiceModel": "emma"
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  },
  "managedBy": {
    "type": "API",
    "source": "text"
  }
}

Get a specific call flow.

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
200

The requested call flow

application/json
idinteger · int64Optional
namestringRequired
languagestring · enumRequiredPossible values:
get/call-flows/{id}
GET /api/call-flows/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200

The requested call flow

{
  "id": 1,
  "name": "text",
  "language": "de",
  "assignedNumber": {
    "id": 1,
    "name": "text",
    "phoneNumber": {
      "regionCode": "text",
      "number": "text"
    }
  },
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "textMessage": "text",
      "customAudioUrl": "text",
      "language": "en",
      "aiVoiceModel": "emma"
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "textMessage": "text",
            "customAudioUrl": "text",
            "language": "en",
            "aiVoiceModel": "emma"
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  },
  "managedBy": {
    "type": "API",
    "source": "text"
  }
}

Update a specific call flow.

put
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Body
idinteger · int64Optional
namestringRequired
languagestring · enumRequiredPossible values:
Responses
200

The updated call flow

application/json
idinteger · int64Optional
namestringRequired
languagestring · enumRequiredPossible values:
put/call-flows/{id}
PUT /api/call-flows/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 552

{
  "id": 1,
  "name": "text",
  "language": "de",
  "assignedNumber": {
    "id": 1,
    "name": "text",
    "phoneNumber": {
      "regionCode": "text",
      "number": "text"
    }
  },
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "textMessage": "text",
      "customAudioUrl": "text",
      "language": "en",
      "aiVoiceModel": "emma"
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "textMessage": "text",
            "customAudioUrl": "text",
            "language": "en",
            "aiVoiceModel": "emma"
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  }
}
200

The updated call flow

{
  "id": 1,
  "name": "text",
  "language": "de",
  "assignedNumber": {
    "id": 1,
    "name": "text",
    "phoneNumber": {
      "regionCode": "text",
      "number": "text"
    }
  },
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "textMessage": "text",
      "customAudioUrl": "text",
      "language": "en",
      "aiVoiceModel": "emma"
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "textMessage": "text",
            "customAudioUrl": "text",
            "language": "en",
            "aiVoiceModel": "emma"
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  },
  "managedBy": {
    "type": "API",
    "source": "text"
  }
}

Delete a specific call flow.

delete
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
204

Empty body delete response

delete/call-flows/{id}
DELETE /api/call-flows/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

Empty body delete response

No content

Get the call flow with the specified name.

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
namestringRequired

unique name of the call flow

Responses
200

The requested call flow

application/json
idinteger · int64Optional
namestringRequired
languagestring · enumRequiredPossible values:
get/call-flows/name/{name}
GET /api/call-flows/name/{name} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200

The requested call flow

{
  "id": 1,
  "name": "text",
  "language": "de",
  "assignedNumber": {
    "id": 1,
    "name": "text",
    "phoneNumber": {
      "regionCode": "text",
      "number": "text"
    }
  },
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "root": {
    "id": 1,
    "name": "text",
    "nodeType": "ROOT",
    "metadata": {
      "textMessage": "text",
      "customAudioUrl": "text",
      "language": "en",
      "aiVoiceModel": "emma"
    },
    "branches": [
      {
        "id": 1,
        "branchType": "BRANCH",
        "condition": "text",
        "target": {
          "id": 1,
          "name": "text",
          "nodeType": "ROOT",
          "metadata": {
            "textMessage": "text",
            "customAudioUrl": "text",
            "language": "en",
            "aiVoiceModel": "emma"
          },
          "branches": [
            "[Circular Reference]"
          ]
        }
      }
    ]
  },
  "managedBy": {
    "type": "API",
    "source": "text"
  }
}

Last updated

Was this helpful?