Auth

Get current user profile

get/api/auth/profile

Request

  • Base URL: https://ewihub.posechecker.com (the document declares no server; this is the origin it was published from)
  • URL: https://ewihub.posechecker.com/api/auth/profile
  • Auth: HTTP bearer

Response

User profile

idstring required

User ID

firstNamestring required

First name

lastNamestring required

Last name

emailstring required

Email address

usernamestring required

Username

rolestring required

User role

organizationstring

Organization ID

createdAtstring date-time required

User creation timestamp

updatedAtstring date-time required

User update timestamp

Example response

{
  "id": "507f1f77bcf86cd799439011",
  "firstName": "John",
  "lastName": "Doe",
  "email": "john.doe@example.com",
  "username": "john_doe",
  "role": "orgUser",
  "organization": "507f1f77bcf86cd799439011",
  "createdAt": "2024-01-01T00:00:00.000Z",
  "updatedAt": "2024-01-01T00:00:00.000Z"
}

Changes

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