List API keys for a subaccount

Lists the API keys of a subaccount by ID.

Use this operation to retrieve the IDs and settings of the existing keys. The secret value of the credentials is not returned.

Required permission: SUB_ACCOUNT:READ

⚠️

Access requirements

The request must be authenticated with the parent account's API key. Subaccount key management must be temporarily enabled in the web interface, with the IP Whitelist active and the application's outbound IP authorized.

📘

Tracking changes

To track key creation, enabling, disabling, deletion or expiration, use Webhooks instead of calling this endpoint repeatedly.

Use this operation for on-demand checks and to retrieve the ID needed to update or delete a key.

See the API key events.

Related content

Guides

Path Params
string
required

Unique subaccount identifier in Asaas

Responses

403

Forbidden. Occurs when the request body is filled, GET method calls must have an empty body.

404

Not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json