Skip to main content
Get Current User Information
curl --request GET \
  --url https://{tenantId}.api.nestmed.com/api/v1/auth/userinfo \
  --header 'Authorization: Bearer <token>'
{
  "userId": "<string>",
  "email": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "role": "<string>",
  "clinicianId": "<string>",
  "agencies": [
    {
      "agencyId": "<string>",
      "name": "<string>",
      "role": "<string>"
    }
  ],
  "permissions": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

User information.

userId
string
email
string
firstName
string
lastName
string
role
string
clinicianId
string
agencies
object[]
permissions
string[]