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
Example request
{
"document_version": 2
}Response
The request has succeeded and a new resource has been created as a result.
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"
}
}
]
}
}
}