GET
/
user
/
me
curl -X GET \
 /user/me \
 --header "Authorization: Bearer <token>"
{
  "user": {
    "id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
    "firstName": "John",
    "lastName": "Doe",
    "email": "jsmith@example.com"
  },
  "account": {
    "id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ"
  },
  "tenant": {
    "id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
    "name": "ACME",
    "username": "acme",
    "legalCompanyName": "Acme Inc."
  },
  "roles": [
    "ROLE_USER"
  ]
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Response

200
application/json
User resource
user
object
account
object | null
tenant
object | null
roles
string[]
Example:
["ROLE_USER"]