Control Plane APIs refer to accounts by its legacy name “tenant”. Both are used interchangeably in the sections below.
Once integrated, this set of APIs allow actions from advertisers such as:
capig_domain
in the API Reference section refers to AdminDomainName which is specified during stack configuration.
Provide the API account name and API secret key obtained in Step 2 of the prerequisites to get a short-lived access token for making subsequent control plane API calls. Note that the token expires in 10 hours and will need to be obtained again by calling this API.
curl -X POST \ -F 'client_id={client_id}' \ -F 'client_secret={client_secret}' \ -F 'grant_type=client_credentials' \ 'https://<capig_domain>/clients/token'
{ "token": <token> }
Field | Description |
---|---|
| Required API account name obtained in Step 2 of prerequisites |
| Required |