Phone Numbers
Get call flow draft
Changed onReturns the working draft of a phone number's call flow. Unlike GET /v2/api/numbers/{number}/call_flow?status=draft, this endpoint does NOT fall back to the published flow when no draft exists — it returns 404 CALL_FLOW_DRAFT_NOT_FOUND. Use it to read a draft's lock_version without risk of accidentally holding the published version's lock.
get/v2/api/numbers/{number}/call_flow/draft
Request
- Base URLhttps://api.withallo.com
- URLhttps://api.withallo.com/v2/api/numbers/{number}/call_flow/draft
- AuthAPI key in header Authorization
Path parameters
numberstring required
Example:+14155551234
Allo phone number in E.164 format
Response
The working draft
Example response
{
"data": {
"id": "cflv-abc123",
"flow_id": "cflw-abc123",
"version": 3,
"status": "PUBLISHED",
"schema_version": 1,
"engine_subset": "FULL_FLOW",
"number": "+14155551234",
"confirmation_url": "https://app.withallo.com/call-flow-draft/cflv-abc123",
"entry_node_id": "node-22"
}
}Changes
- info
endpoint added
- info