My App

List all API keys for the authenticated account

Retrieve all API keys associated with the authenticated account.

This endpoint returns a list of all API key pairs that have been created for the authenticated user, including both read-write and read-only keys. Each API key entry includes metadata such as creation time, expiration, associated wallet addresses, and access permissions.

Requires authentication.

GET
/auth/api-keys
OBSIDIAN-KEY<token>

In: header

OBSIDIAN-SECRET<token>

In: header

Response Body

application/json

application/json

curl -X GET "https://api.dev.obsidian.exchange/auth/api-keys"
{
  "api_keys": [
    {
      "api_key": "string",
      "api_secret": "string",
      "name": "string",
      "sender": "string",
      "signer": "string",
      "created_at": "string",
      "expired_at": "string",
      "is_read_only": true
    }
  ]
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}