v77

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-012528701.8 MB
Call Flows

Deploy call flow version

Deploys a specific version of a Call Flow.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.

Learn more about API scopes.

post/api/fabric/resources/call_flow/{id}/versions

Path parameters

idstring required

The unique identifier of the Call Flow.

Request body

OR

Example request

{
  "document_version": 2
}

Response

The request has succeeded and a new resource has been created as a result.

idstring uuid required

Universal Unique Identifier.

created_atstring required

The creation timestamp.

updated_atstring required

The last update timestamp.

document_versioninteger required

The document version.

flow_dataobject

Call Flow Builder state, stored as an opaque JSON object.

Example response

{
  "created_at": "2024-01-02T00:00:00Z",
  "updated_at": "2024-01-02T00:00:00Z",
  "document_version": 2,
  "flow_data": {},
  "relayml": {
    "sections": {
      "main": [
        {
          "answer": {
            "max_duration": 3600,
            "codecs": "PCMU,PCMA,OPUS",
            "username": "user123",
            "password": "securepassword"
          }
        }
      ]
    }
  }
}