EndpointsList API keys for user

List API keys for user

curl -X GET "//v1/api-keys" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (API Key)"
{
  "api_keys": [
    {
      "id": "example_string",
      "key_prefix": "example_string",
      "name": "John Doe",
      "expiration_date": "2024-12-25T10:00:00Z",
      "created_at": "2024-12-25T10:00:00Z",
      "revoked_at": "2024-12-25T10:00:00Z",
      "api_key": "example_string"
    }
  ],
  "pagination": {
    "page": 25,
    "per_page": 25,
    "total": 42,
    "pages": 25
  }
}
GET
/v1/api-keys
GET
Bearer Token (API Key)
Bearer Tokenstring
Required

User API Key. Create in the Ctxfy dashboard or via POST /v1/api-keys. Use Bearer <api_key> in Authorization header.

User API Key. Create in the Ctxfy dashboard or via POST /v1/api-keys. Use Bearer <api_key> in Authorization header.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (API Key). User API Key. Create in the Ctxfy dashboard or via POST /v1/api-keys. Use Bearer <api_key> in Authorization header.

Responses

api_keysarray
Required
paginationobject
Required