Skip to content

Get Current User Info

GET
/api/auth/me
curl --request GET \
--url https://example.com/api/auth/me \
--header 'Authorization: Bearer <token>'

Get current user information (+ the active support view, TODO-070).

Successful Response

Media type application/json
CurrentUserResponse

GET /api/auth/me: the user, plus the active support view (TODO-070), if any.

object
created_at
required
Created At
string format: date-time
current_terms_version
Current Terms Version
string
""
email
required
Email
string format: email
full_name
required
Any of:
string
id
required
Id
string format: uuid
impersonation
Any of:
ImpersonationInfo

GET /api/auth/me while a support view is active.

object
expires_at
required
Expires At
string format: date-time
grant_expires_at
Any of:
string format: date-time
grant_id
required
Grant Id
string format: uuid
organization_id
required
Organization Id
string format: uuid
organization_name
Any of:
string
read_only
Read Only
boolean
default: true
reason
required
Reason
string
ticket
required
Any of:
string
is_active
required
Is Active
boolean
is_superuser
Is Superuser
boolean
is_support
Is Support
boolean
is_verified
required
Is Verified
boolean
last_login
required
Any of:
string format: date-time
organization_id
Any of:
string format: uuid
terms_acceptance_required
Terms Acceptance Required
boolean
terms_accepted_at
Any of:
string format: date-time
terms_version
Any of:
string
timezone
Any of:
string
username
required
Username
string
Example
{
"current_terms_version": "",
"impersonation": {
"read_only": true
},
"is_superuser": false,
"is_support": false,
"terms_acceptance_required": false,
"timezone": "UTC"
}