Skip to main content
GET
/
api
/
v1
/
keys
List API keys
curl --request GET \
  --url https://api.myrouter.example/api/v1/keys \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "hash": "<string>",
      "name": "<string>",
      "account_id": "<string>",
      "disabled": true,
      "usage": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "label": "<string>",
      "limit": 123,
      "limit_remaining": 123,
      "last_used_at": "2023-11-07T05:31:56Z"
    }
  ],
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-request-id
string

Optional caller request id.

Response

List API keys response.

data
object[]
required

API keys.

request_id
string

Request id.