Deploy a Call Flow Version
POST/resources/call_flow/:id/versions
Deploy a Call Flow Version
Request
Path Parameters
id uuidrequired
The ID of the Call Flow
- application/json
Body
required
- MOD1
- MOD2
anyOf
document_version integer
The current revision of the call flow.
Example:
2
call_flow_version_id uuid
Any call flow version ID for this call flow.
Example:
1313fe58-5e14-4c11-bbe7-6fdfa11fe780
Responses
- 201
- 422
A Call Flow Version
- application/json
- Schema
- Example (from schema)
Schema
id uuid
Example:
993ed018-9e79-4e50-b97b-984bd5534095
created_at date-time
Example:
2024-01-02T00:00:00Z
updated_at date-time
Example:
2024-01-02T00:00:00Z
document_version integer
The current revision of the call flow.
Example:
1
flow_data string
Example:
{}
relayml string
A SWML document. For more information on SWML, please go to https://developer.signalwire.com/swml
Example:
{}
{
"id": "993ed018-9e79-4e50-b97b-984bd5534095",
"created_at": "2024-01-02T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z",
"document_version": 1,
"flow_data": "{}",
"relayml": "{}"
}
Unprocessable Entity
- application/json
- Schema
- Example (from schema)
Schema
type stringrequired
code stringrequired
message stringrequired
attribute string
url urirequired
{
"type": "validation_error",
"code": "invalid_parameter",
"message": "Name must be present",
"attribute": "name",
"url": "https://developer.signalwire.com/rest/signalwire-rest/overview/error-codes#invalid_parameter"
}