Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Create an IVR flow

Creates a new IVR flow for a channel. The flow is saved as a v2 graph.

POST/v1/channels/{channelID}/ivr-flows
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
channelIDstringrequired
Channel ID
Request body
requiredapplication/json
descriptionstring
Flow description
graphobjectrequired
v2 flow graph
is_call_startboolean
Auto-start on incoming calls
is_outgoing_endboolean
Use for outgoing calls
namestringrequired
Flow name
min length 1
Responses
200OK
created_atstringrequired
descriptionstringrequired
graphobjectrequired
idstringrequired
is_activebooleanrequired
is_call_startbooleanrequired
is_outgoing_endbooleanrequired
namestringrequired
updated_atstringrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/channels/string/ivr-flows" \
  -H "Content-Type: application/json" \
  -d '{
  "description": "string",
  "graph": {},
  "is_call_start": true,
  "is_outgoing_end": true,
  "name": "string"
}'
Response
{
  "created_at": "string",
  "description": "string",
  "graph": {},
  "id": "string",
  "is_active": true,
  "is_call_start": true,
  "is_outgoing_end": true,
  "name": "string",
  "updated_at": "string"
}