Read the caller's user profile

1 min readEdit this page
GET
/v1/account

Returns id, email, display_name, created_at.

Requires the user:read scope.

Authorization

x-api-key<token>

Anthropic-style API key header.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/account"
{}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}

How is this guide?