Users
Get user
Changed onThis endpoint allows you to retrieve a user by their ID.
get/v1/businesses/{client_id}/users/{user_id}
Request
- Base URLhttps://public.letsweel.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
client_idinteger required
Example:123
The ID of the business.
user_idinteger required
The ID of the user.
Response
OK
Example response
{
"id": 123,
"first_name": "John",
"last_name": "Doe",
"name": "John Doe",
"email": "john.doe@example.com",
"role": "Team Member",
"role_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"created": "2024-01-01T00:00:00Z",
"updated": "2024-01-01T00:00:00Z",
"payment_types": [
"cards"
],
"out_of_office_mode": true,
"out_of_office_start_date": "2026-06-01",
"out_of_office_end_date": "2026-06-15",
"delegate_approver": 789,
"expense_delegate": [
456,
789
]
}Changes
- warning
added the new
external_expensesenum value to the/response property for the response status
- warning