cURL
curl --request GET \ --url https://demo1-api.payrollintegrationsdemo.com/v1/users/me \ --header 'Authorization: Bearer <token>'
{ "id": "bb0e8400-e29b-41d4-a716-446655440006", "email": "[email protected]", "name": "John Doe", "role": "admin", "createdAt": "2024-01-10T09:00:00Z" }
Retrieves the currently authenticated user
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Current user details
Show child attributes