Rebinds a phone number or merchant account ID to a flow.
Operation description
-
You can call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind on the Flow Builder > Settings page.
-
Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
-
If you are binding a phone number or merchant account ID to a flow for the first time, use the FlowBindPhone operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:FlowRebindPhone |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowCode |
string |
Yes |
The flow code. You can view it on the Flow Builder page. |
9ccc41************************** |
| ChannelCode |
string |
Yes |
The message channel code, which is the channel ID. You can view the channel ID on the Channel Management page. |
cams-8c8********* |
| ChannelType |
string |
Yes |
The message channel type. Valid values:
|
|
| PhoneNumbers |
array |
No |
The list of phone numbers, PageIds, or AccountIds, or ServiceIds under the channel instance. |
|
|
string |
No |
A single phone number, PageId, or AccountId, or ServiceId.
|
86188******** |
|
| WabaId |
string |
Yes |
The WABA account ID, PageId, or AccountId, or ServiceId.
|
1952************ |
| FlowVersion |
string |
No |
The flow version. On the Flow Builder page, click the flow name to open the flow builder canvas and view the flow version. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The request ID. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Model |
boolean |
Indicates whether the operation is successful. Valid values:
|
true |
| Code |
string |
The status code. |
OK |
| Success |
boolean |
Indicates whether the operation is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O\n",
"Model": true,
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.