Documentation

List API keys

GET
/v1/account/api-keys

Authorization

bearerAuth
AuthorizationBearer <token>

Authenticate using an API Key:

Authorization: Bearer rk_live_your-api-key

In: header

Query Parameters

limit?integer
Default20
Rangevalue <= 100
offset?integer
Default0
is_active?boolean

Filter by active status

Response Body

application/json

application/problem+json

curl -X GET "https://api.routeany.com/v1/account/api-keys"
{
  "data": [
    {
      "id": "string",
      "key": "string",
      "key_prefix": "string",
      "name": "string",
      "scopes": [
        "string"
      ],
      "rate_limit_rpm": 0,
      "is_active": true,
      "last_used_at": "2019-08-24T14:15:22Z",
      "created_at": "2019-08-24T14:15:22Z",
      "expires_at": "2019-08-24T14:15:22Z"
    }
  ],
  "total": 0
}
{
  "type": "https://api.routeany.com/errors/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "Invalid or missing API key",
  "code": "AUTH_INVALID_TOKEN"
}