List a company's API keys

See the API keys a client company has.

Use this endpoint to see the API keys of a company you created, oldest first, whoever created each one. Expired keys are left out unless you pass includeExpired=true.

Keys are redacted. Each carries a redactedKey, such as tsk_prod_2...c41F, which is enough to tell keys apart. The key itself is never returned: it is shown only when it is created or rotated. expiresAt is set for a key that is scheduled to stop working.

Errors

StatusMeaning
401The API key is missing, malformed or expired.
404No company with this ID belongs to your partner account.
📘

Part of Company API keys. Authenticate with your partner API key, as for every endpoint in this section: see Authentication.

Path Params
integer
required

The company's ID, as returned when the company was created.

Query Params
boolean
Defaults to false

Include keys that have already expired. Defaults to false.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json