User
This endpoint allows you to retrieve information about the currently authenticated user.
The user model
The user model contains basic information about the authenticated user, including their identification and contact details.
Properties
- Name
id- Type
- string
- Description
Unique identifier for the user.
- Name
first_name- Type
- string
- Description
The user's first name.
- Name
last_name- Type
- string
- Description
The user's last name.
- Name
email- Type
- string
- Description
The user's email address.
GET/api/user
Get authenticated user
Retrieve the details of the currently authenticated user. This endpoint requires authentication.
Response
- Name
data- Type
- object
- Description
The user object containing all properties listed above.
Request
GET
/api/usercurl https://app.offerteadviseur.nl/api/user \
-H "Authorization: Bearer eyJ..." \
-H "Accept: application/json"
Response
{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com"
}
}

