Get the current user.
Returns details of the currently logged in user based on the Access token. Use this endpoint for obtaining the companyId of the current environment.
Request
- Base URL: https://pts-api.procountor.com/api
- URL: https://pts-api.procountor.com/api/users
- Auth: HTTP bearer
Response
The user was successfully returned.
User ID of this user.
The username of this user. This is the username used to log in to Procountor.
Identifier for the company this user is logged into. NOTE! This field can also be found in /company endpoint, and that is the recommended way to use it. This field will be deprecated and removed from this endpoint at some point in the future.
Country code of current company environment. NOTE! This field can also be found in /company endpoint, and that is the recommended way to use it. This field will be deprecated and removed from this endpoint at some point in the future.
Street
Zip
City
Business partner ID of the current user.
Indicates the login method chosen by the user.
The first name of the user.
The last name of the user.
The email address of the user.
The mobile phone number of the user.
The secondary phone number of the user.
The social security number of the user.
Example response
{
"countryCode": "FINLAND"
}Changes
No recorded changes to this operation across all 1 revision of this API.