Change Call Flow on #
/flow
- token (string, required)
- did_id (int, required)
- flow_id (int, required)
Assign a routing call flow to a specified phone number.
Note: To remove call flow routing from a number,
flow_id
shall be set as "none".Note:
did_id
can be obtained from "List Detail on Specific #", and flow_id
can be obtained from "Call Flow Control > List Flows".{
"code": 200,
"status": "success",
"data": "Successfully set call flow"
}
{
"code": 400,
"status": "error",
"data": "Invalid call flow id"
}