GET
/
auth
/
user
curl --request GET \
  --url https://api.alerty.ai/auth/user \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "email": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "emailVerified": true,
  "profilePictureURL": "<string>",
  "organization": {
    "id": "<string>",
    "name": "<string>",
    "members": [
      {
        "id": "<string>",
        "email": "<string>",
        "firstName": "<string>",
        "lastName": "<string>",
        "emailVerified": true,
        "profilePictureURL": "<string>",
        "role": "<string>",
        "status": "active"
      }
    ]
  },
  "belongsToMultipleOrganizations": true
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

Successful user retrieval

The response is of type object.