Queries a list of contacts.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListContact |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Keyword |
string |
No |
The keyword used in the query. For example, you can specify a keyword in names, email addresses, and mobile phone numbers. |
186 |
| ShowSize |
integer |
No |
The number of contacts per page. |
20 |
| CurrentPage |
integer |
No |
The page number. Default value: 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
31C66C7B-671A-4297-9187-2C4477247A74 |
| TotalCount |
integer |
The total number of entries returned. |
12 |
| ShowSize |
integer |
The number of certificates per page. Default value: 20. |
20 |
| CurrentPage |
integer |
The page number. Default value: 1. |
1 |
| Keyword |
string |
The keyword used in the fuzzy search. |
186 |
| ContactList |
array<object> |
The contacts. |
|
|
object |
|||
| ContactId |
integer |
The ID of the contact. |
519580 |
| Name |
string |
The name of the contact. |
John |
| Mobile |
string |
The phone number. |
139****8888 |
| MobileStatus |
integer |
Indicates whether the phone number was verified. |
1 |
|
string |
The email address of the contact. |
username@example.com |
|
| EmailStatus |
integer |
Indicates whether the email address passed the verification. |
1 |
| Webhooks |
string |
The webhook URL of the chatbot. |
[\"https://open.feishu.cn/open-apis/bot/v2/hook/XXX\",\"https://oapi.dingtalk.com/robot/send?access_token=XXX\",\"https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=XXX\"] |
Examples
Success response
JSON format
{
"RequestId": "31C66C7B-671A-4297-9187-2C4477247A74",
"TotalCount": 12,
"ShowSize": 20,
"CurrentPage": 1,
"Keyword": "186",
"ContactList": [
{
"ContactId": 519580,
"Name": "John",
"Mobile": "139****8888",
"MobileStatus": 1,
"Email": "username@example.com",
"EmailStatus": 1,
"Webhooks": "[\\\"https://open.feishu.cn/open-apis/bot/v2/hook/XXX\\\",\\\"https://oapi.dingtalk.com/robot/send?access_token=XXX\\\",\\\"https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=XXX\\\"]"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.