List the personal API keys owned by the current user. Secrets are never returned. This endpoint is interactive-session only and cannot be called with an API key.
GET
/me/api-keys
curl \
--request GET 'https://api.your-domain.com/api/me/api-keys' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"code": 200,
"message": "api keys retrieved successfully",
"data": {
"api_keys": [
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"user_id": "jf584cz36kce",
"organization_id": "org_a1b2c3",
"name": "CRM production",
"key_public": "a1b2c3d4e5f60718293a4b5c",
"mode": "read",
"expires_at": "2026-05-04T09:42:00Z",
"last_used_at": "2026-05-04T09:42:00Z",
"last_used_ip": "string",
"revoked_at": "2026-05-04T09:42:00Z",
"created_at": "2026-05-04T09:42:00Z"
}
]
}
}
Response examples (401)
{
"code": 401,
"message": "invalid token",
"data": {}
}
Response examples (403)
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}
Response examples (500)
{
"code": 500,
"message": "internal server error",
"data": {}
}