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.
call_flow_version_id uuid
Any call flow version ID for this call flow.
Responses
- 201
- 422
A Call Flow Version
- application/json
- Schema
- Example (from schema)
Schema
id uuid
created_at date-time
updated_at date-time
document_version integer
The current revision of the call flow.
flow_data string
relayml string
A SWML document. For more information on SWML, please go to https://developer.signalwire.com/swml
{
"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"
}
Loading...