Change Call Flow on #

/flow

Full Url

Arguments

  • token (string, required)
  • did_id (int, required)
  • flow_id (int, required)

Info

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".

Example Success

{
"code": 200,
"status": "success",
"data": "Successfully set call flow"
}

Example Error

{
"code": 400,
"status": "error",
"data": "Invalid call flow id"
}