Skip to main content
POST
https://api.0xkey.io
/
public
/
v1
/
query
/
whoami
Who am I
curl --request POST \
  --url https://api.0xkey.io/public/v1/query/whoami \
  --header 'Content-Type: application/json' \
  --header 'X-Stamp: <api-key>' \
  --data '
{
  "organizationId": "<string>"
}
'
{
  "organizationId": "<string>",
  "organizationName": "<string>",
  "userId": "<string>",
  "username": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.0xkey.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Stamp
string
header
required

Body

application/json
organizationId
string
required

Unique identifier for a given organization. If the request is being made by a WebAuthN user and their sub-organization ID is unknown, this can be the parent organization ID; using the sub-organization ID when possible is preferred due to performance reasons.

Response

A successful response.

organizationId
string
required

Unique identifier for a given organization.

organizationName
string
required

Human-readable name for an organization.

userId
string
required

Unique identifier for a given user.

username
string
required

Human-readable name for a user.