v5
latestOpenAPI 3.1.02026-07-262421791.5 MBuser
Retrieve a user by ID
Get authenticated user details by user ID.
get/v1/users/{userId}
Path parameters
userIdinteger required
The user ID.
Headers
X-External-Correlation-Idstring uuid
Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.
Response
OK - Successfully retrieved user.
Example response
{
"id": 101,
"name": "Example Person",
"email": "person@example.com",
"active": true,
"details": {
"firstName": "Example",
"lastName": "Person",
"phoneNumber": "+37111111111",
"dateOfBirth": "1977-01-01",
"avatar": "https://lh6.googleusercontent.com/photo.jpg",
"primaryAddress": 111,
"address": {
"countryCode": "EE",
"firstLine": "Road 123",
"postCode": "11111",
"city": "Tallinn"
}
}
}