Create a call flow
post/calls/flows
Create a call flow. It is checked in full first: every node a step names must exist, numbers must be valid, audio must be a public https address, and a recording step must say the call is recorded.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
voice:write- Graphql
Mutation.voiceCallFlowCreate- Sdk
calls.flows.create- Cli
calls flow-create
Request bodyapplication/json, required
- namestringrequiredAt most 80 characters.
- flowThe flow: { language, voice, start, nodes: { name: [steps] } }. Steps: say, play, pause, gather, dial, record, hours (branch on opening hours), redirect, hangup, reject. Checked in full before it is stored.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring