Skip to main content
GET
/
v1
/
admin
/
api-keys
/
{id}
Fetch a key by id (metadata only — no secret)
curl --request GET \
  --url http://localhost:3000/v1/admin/api-keys/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "partner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "key_id": "<string>",
  "key_prefix": "<string>",
  "environment": "sandbox",
  "scopes": [
    "<string>"
  ],
  "name": "<string>",
  "description": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "last_used_at": "<string>",
  "revoked_at": "<string>",
  "revoke_after": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Response

200 - application/json

Default Response

id
string<uuid>
required
partner_id
string<uuid>
required
key_id
string
required
key_prefix
string
required
environment
enum<string>
required
Available options:
sandbox,
production
scopes
string[]
required
name
string | null
required
description
string | null
required
created_at
string
required
updated_at
string
required
last_used_at
string | null
required
revoked_at
string | null
required
revoke_after
string | null
required