You can call this operation to query alert contacts.


Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes SearchAlertContact

The operation that you want to perform. Set this value to SearchAlertContact.

ContactName String Yes JohnDoe

The name of the contact that you want to query.

CurrentPage String Yes 1

The number of the page to return.

Email String Yes

The email address of the contact.

PageSize String Yes 5

The number of entries to return on each page.

Phone String Yes 12312312312

The phone number of the contact.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description

The information returned on each page.


The information about the contact that you queried.

ContactId Long 6258

The ID of the alert contact.

ContactName String JohnDoe

The name of the alert contact.

CreateTime Long 1565671490000

The time when the contact was created.

DingRobot String 123456

The DingTalk Chatbot address of the contact.

Email String

The email address of the contact.

Phone String 1381111****

The phone number of the contact.

SystemNoc Boolean false

Indicates whether system information has been synchronized.

UpdateTime Long 1565671490000

The time when the contact was updated.

UserId String xxxxxxxxxxxxx

The ID of the user.

PageNumber Integer 1

The number of the page returned.

PageSize Integer 10

The number of entries returned on each page.

TotalCount Integer 2

The total number of entries returned.

RequestId String 6D01BD42-26B6-4C12-8AEF-1ACE9CBD2A39

The ID of the request.


Sample request

Sample success response

XML format

       <pageBean class="object">
              <contacts class="array">
                     <e class="object">
                            <contactId type="number">6258</contactId>
                            <contactName type="string">JohnDoe</contactName>
                            <createTime type="number">1565671490000</createTime>
                            <dingRobot type="string"></dingRobot>
                            <email type="string"></email>
                            <phone type="string">1381111****</phone>
                            <systemNoc type="boolean">false</systemNoc>
                            <updateTime type="number">1565671490000</updateTime>
                            <userId type="string">xxxxxxxxxxxxx</userId>
                     <e class="object">
                            <contactId type="number">6259</contactId>
                            <contactName type="string">JaneDoe</contactName>
                            <createTime type="number">1565671814000</createTime>
                            <dingRobot type="string"></dingRobot>
                            <email type="string"></email>
                            <phone type="string">1382222****</phone>
                            <systemNoc type="boolean">false</systemNoc>
                            <updateTime type="number">1565671814000</updateTime>
                            <userId type="string">xxxxxxxxxxxxx</userId>
              <pageNumber type="number">1</pageNumber>
              <pageSize type="number">10</pageSize>
              <totalCount type="number">2</totalCount>
       <requestId type="string">6D01BD42-26B6-4C12-8AEF-1ACE9CBD2A39</requestId>

JSON format


Error codes

The operation returns only common errors. For more information about errors that are common to all operations, see API Error Center.