API keys

List API keys

Keys are never returned in full — only their identity and last four. Creation stays in the console deliberately: a leaked key that can mint more keys is a leaked account.

GET
/api_keys

Keys are never returned in full — only their identity and last four. Creation stays in the console deliberately: a leaked key that can mint more keys is a leaked account.

AuthorizationBearer <token>

Organization API key from the console (ak_...), or an OAuth access token with user:org:read, the organization selected during consent, and the capability required by the operation.

In: header

Query Parameters

limit?integer

Maximum number of resources to return.

Range1 <= value <= 100
Default20
cursor?string

Opaque cursor from the preceding page's next_cursor.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api_keys"
{  "object": "list",  "data": [    {      "id": "string",      "object": "api_key",      "name": "string",      "last4": "string",      "revoked": true,      "last_used_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true,  "next_cursor": "string"}