To send a Cloud Config API request, you must send an HTTP GET request to the Cloud Config endpoint. You must add the request parameters that correspond to the API operation being called. After you call the API operation, the system returns a response. The request and response are both encoded in UTF-8.

Request syntax

Cloud Config API operations use the RPC protocol. You can call Cloud Config API operations by sending HTTP GET requests.

Use the following request syntax when you send an API request:
https://Endpoint/?Action=xx&Parameters
The following table describes the parameters in the request syntax.
Parameter Description
Endpoint The endpoint of the Cloud Config API.Set the value to config.ap-southeast-1.aliyuncs.com.
Action The name of the operation being performed. For example, to query account groups, you must set the value to ListAggregators.
Version The version number of the API. Set the value to 2020-09-07.
Parameters The request parameters for the operation. Separate multiple parameters with ampersands (&).

Request parameters include both common request parameters and API operation-specific parameters. Common parameters include information such as the API version number and authentication information. For more information, see Common parameters.

Sample requests

The following example demonstrates how to call the ListAggregators operation to query account groups.
Note The following code has been formatted to for better readability.
https://config.ap-southeast-1.aliyuncs.com/?Action=ListAggregators
&Format=xml
&Version=2020-09-07
&Signature=LbCj99dCxXdE9amsCivm0U4yT****
&SignatureMethod=HMAC-SHA1
&SignatureNonce=87d98ae51f0793f2c8638d3a9bdd****
&SignatureVersion=1.0
&AccessKeyId=LTAI4G4jDmmbPAG9CXfH****
&TimeStamp=2021-05-06T12:00:00Z
...