Skip to main content
GET
MeAPI returns the authenticated user and their currently-active org (the one

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Response

Success response

credential_id
string

The CLI matches it to replace only the saved login that a rotation invalidated; absent when the request was not authenticated by an API key.

email
string
organization_id
string
organization_name
string
organization_slug
string

only part of an org's identity that is unique and short enough to read. Two orgs can carry the same display name, so a whoami that answers with a name alone can leave the reader confident about the wrong tenant.

user_id
string