Users

Get the current user

Returns the user the request authenticates as, from a session or an OAuth token with the user:profile:read scope.

get/v1/users/me

Request

  • Base URL: https://api.withone.ai
  • URL: https://api.withone.ai/v1/users/me
  • Auth: one of:
    • Session (a scheme the document does not define)
    • OAuth 2 (authorization code, authorization URL https://api.withone.ai/oauth/authorize, token URL https://api.withone.ai/oauth/token, scopes: user:profile:read)

Response

The authenticated user

activeboolean required
avatarstring required
changeLogChangeLog required
createdAtstring date-time required
deletedboolean required
emailstring required
firstNamestring required
idstring uuid required
lastNamestring required
role'operator' | 'partner' | 'common' required
state'new-user' | 'completed-onboarding' | 'skipped-onboarding' required
tagsstring[] required
throughputinteger nullable
updatedAtstring date-time required
userKeystring required
usernamestring required
versionstring required

Changes

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