The Access Log shows every token request made with your company’s Public API keys: successful requests, failed requests, and rate-limited requests. Use it to check which keys are in use, from which IP addresses, and which requests failed. If a secret may be exposed, you can rotate it from the same place.
Overview
You open the Access Log from Settings → API Access → Access Log. The page lists the newest token requests first. Each row shows one request made with one API key. Select a row to see the full details of that request. Rotate secret replaces the client secret of an API key. You can rotate a secret from the key’s page or from the details panel of the Access Log. Synonyms: API access log, API key activity, API token log, client credentials log, API audit log, rotate API secret, reset API secret, regenerate client secret, leaked API key.Before You Start
Your user account must have one of these roles: Admin, Partner Admin, or Support. If you have any other role, you cannot open the Access Log or rotate a secret.The Access Log shows only your own company’s API keys. Keys managed by Alvys, for example the key used by Alvys Voice, are shown only to Alvys Support. Activity from deleted keys is not shown.
Open the Access Log
- Open Settings from the main navigation.
- Select API Access.
- Click Access Log.
Read the table
Each row has these columns:
The footer shows how many days back the page reads. Activity from deleted keys is not shown.
Find a request
- To find one key, type part of its name in Search API keys.
- To narrow the list by a column, open the filter on the column header and click Apply. You can filter by Time, API key, Result, and IP address. The IP address filter needs the full address, for example
203.0.113.7. - To remove all search text and filters, click Clear all.
See the details of a request
- Click a row in the table. A details panel opens on the right.
- Read the sections of the panel:
- Event: the time, the event (Token issued, Token request failed, or Rate limit reached), the result, and the log ID.
- API key: the name and the client ID of the key.
- Request: the audience and the scopes the request asked for.
- Source: the IP address, the country for a failed request, and the client that sent the request.
- Close the panel to return to the table.
Rotate a secret
Rotate a secret when it may be exposed, for example when you see failed or unexpected requests from an IP address you do not know.- Open the key’s page from Settings → API Access, or click a row of that key in the Access Log.
- Click Rotate secret.
- Read the message, then click Rotate secret to confirm.
- The new secret shows with a copy button. Copy it and update every integration that uses this key.
- Click Done.
- Keys managed by Alvys.
- Legacy keys created in the older credential format.
- Deactivated or expired keys. Update the key to reactivate it first.