Skip to main content
GET
/
api-keys
List API keys
curl --request GET \
  --url https://management-api.fpjs.io/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'X-API-Version: <x-api-version>'
{
  "data": [
    {
      "id": "tok_No3jUysGLCDuqB3RnCVf1weo",
      "name": "My Public Key",
      "status": "enabled",
      "environment": "ae_rrETjdWcfqI6AFsk",
      "type": "public",
      "rateLimit": 5,
      "createdAt": "2024-05-31T01:24:39.506Z",
      "description": "Description for my public key",
      "token": "eWDrrpGGLjDQW0LBA0Wj",
      "disabledAt": null
    }
  ],
  "metadata": {
    "pagination": {
      "nextCursor": "eyJrZXlzIjpbImlkIl0sInZhbHVlcyI6WyJhZV9JRVdWQVhrQURyN3BiNFYzI",
      "prevCursor": null
    }
  }
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-Version
string
required

Management API version.

Query Parameters

type
enum<string>

Filters by API key type.

Available options:
public,
secret,
proxy
status
enum<string>

Filters by API key status.

Available options:
enabled,
disabled
environment
string

Filters by environment ID.

cursor
string

Cursor token used for pagination. Response will contain items appearing after the given cursor.

limit
number
default:10

Sets the maximum number of items contained in a single page.

Required range: 0 <= x <= 101

Response

List of API keys matching the given query.

data
object[]
required
metadata
object
required