Account

Get the signed-in user's identities

Works with any authentication method (session, API key, or OAuth JWT) — keys off the request's resolved user, not the account. 401 if no user could be resolved at all.

The response shape (issue #325) depends on the credential:

  • A dashboard session gets the full cross-account view: memberships lists EVERY account the user belongs to, current_account_id is the account this request authenticated against, and default_account_id is the user's own stored default (null if unset).
  • An API key or OAuth JWT gets only the CURRENT account's own entry in memberships (never another account) and current_account_id; default_account_id is omitted entirely, not merely null — neither credential may enumerate the user's other accounts or observe the user-global default.
get/api/v1/me

Request

  • Base URL: https://api.uptimemonitoring.com
  • URL: https://api.uptimemonitoring.com/api/v1/me
  • Auth: HTTP bearer

Response

Identity presence for the resolved user.

idinteger
github_usernamestring nullable
emailstring nullable
has_googleboolean
current_account_idinteger
default_account_idinteger nullable

Present only for a dashboard session.

Changes

No recorded changes to this operation across all 1 revision of this API.