logoAccess

List API keys

GET
/api/v1/api-keys/

List all API keys for the authenticated business. Full keys are never returned.

Authorization

apiKeyHeader
headerx-api-key<token>

API key for authentication. Generate from the dashboard or via POST /v1/api-keys.

Query Parameters

limit?number

Number of records to return per page (1–100)

Range1 <= value <= 100
Default20
cursor?string

Pagination cursor from the previous response's next_cursor

Header Parameters

x-api-key*string

API key for authentication

Length1 <= length

Response Body

Response for status 200

application/json
  1. response
data*array<>
has_more*boolean
next_cursor*string|null
curl -X GET 'https://api.tryaccess.xyz/api/v1/api-keys/' \  -H 'x-api-key: string'
{  "data": [    {      "id": "string",      "name": "string",      "status": "string",      "expires_at": "string",      "created_at": "string",      "permissions": [        "string"      ],      "preset": "string",      "last_request": "string",      "request_count": 0    }  ],  "has_more": true,  "next_cursor": "string"}

How is this guide?