Retrieves a contact.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:GetContact |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ContactId |
integer |
No |
The contact ID. |
1397591 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
EECA10D5-BD0F-4EF1-B3EA-B4578E5C6F8E |
| ContactId |
integer |
The contact ID. |
1352570 |
| Name |
string |
The name of the certificate contact. |
zhang san |
| Mobile |
string |
The phone number of the contact. |
1510108**** |
| MobileStatus |
integer |
Indicates whether the phone number is verified. |
1 |
|
string |
The email address of the contact. |
test@163.com |
|
| EmailStatus |
integer |
Indicates whether the email address is verified. |
1 |
| IdCard |
string |
The ID card number of the contact. This is required for the CFCA certificate brand and not required for other brands. |
142*************** |
| Webhooks |
string |
The webhook URLs of DingTalk, WeCom, or Lark chatbots, in list format as a string. |
[\"https://open.feishu.cn/open-apis/bot/v2/hook/dc1aa9b9-47cd-4b34-91ef-73c1034208e5\"] |
| WebhookList |
array |
The webhook URLs of DingTalk, WeCom, or Lark chatbots, in list format. |
|
|
string |
The webhook URL of a DingTalk, WeCom, or Lark chatbot. |
https://open.feishu.cn/open-apis/bot/v2/hook/test |
Examples
Success response
JSON format
{
"RequestId": "EECA10D5-BD0F-4EF1-B3EA-B4578E5C6F8E",
"ContactId": 1352570,
"Name": "zhang san",
"Mobile": "1510108****",
"MobileStatus": 1,
"Email": "test@163.com",
"EmailStatus": 1,
"IdCard": "142***************",
"Webhooks": "[\\\"https://open.feishu.cn/open-apis/bot/v2/hook/dc1aa9b9-47cd-4b34-91ef-73c1034208e5\\\"]",
"WebhookList": [
"https://open.feishu.cn/open-apis/bot/v2/hook/test"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.