Xenodia Docs
API ReferenceGenerated Reference

List API keys and latest active metadata

Returns keys containing all keys owned by this account, including revoked keys. The compatible data field contains the latest active key metadata or null. Existing secrets are never returned.

GET
/v1/me/api-keys

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.xenodia.xyz/v1/me/api-keys"
{
  "data": {
    "id": 0,
    "account_id": 0,
    "status": "active",
    "name": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "token_preview": "string"
  },
  "keys": [
    {
      "id": 0,
      "account_id": 0,
      "status": "active",
      "name": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "token_preview": "string"
    }
  ]
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}