cURL
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 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful user retrieval
The response is of type object.
object