Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
Operation description
-
You can call this operation to query the list of phone numbers or business account IDs bound to a flow. You can also view the list in Flow Builder > Settings.
-
Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
-
If your flow is not bound to phone numbers or business account IDs, manually bind them in Flow Builder > Settings, or call the FlowBindPhone operation to bind them.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:ListBindingRelationsForFlowVersion |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowCode |
string |
Yes |
The flow code. View the flow code in the Flow Builder console. |
9ccc41************************** |
| ChannelType |
string |
Yes |
The channel type. Valid values:
|
|
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The access denied detail. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The request ID. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Data |
array<object> |
The returned data list. |
|
|
object |
The returned data. |
||
| Code |
string |
The error code. For more information, see Error codes. |
OK |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Data": [
{
"test": "test",
"test2": 1
}
],
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.