Authorizations
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey
). An api_key is linked to a user. This user's role will give you different access level to the API features.
Path Parameters
User id
Response
OK
Partoo App User
User id
"5309c3a237bbc544d8e26737"
User organization id
42
User first name
"Perceval"
User last name
"de Galles"
User email
"perceval@kaamelott.com"
Available language in the application
fr
, en
, es
, it
, pt-br
, de
, ar
, nl
, pl
, cs
, ca
, sk
, pt
, lv
, ro
, bg
, hu
"fr"
User phone number
List of features the user can access from the sidebar.
The features the user has access to.
Populated only for BUSINESS_MANAGER role.
List of businesses ids the user can access.
Note: For a reliable way of getting all the businesses the user can access, use operation/searchBusinesses.
Business id
Group id of the user (it affects only the group manager), for the old group system
42
List of (list of Group ID).
Accesses of the users for the new groups system, only for GROUP_MANAGER
users.
[[1, 2], [1, 3]]
User role in the application
PROVIDER
, ORG_ADMIN
, GROUP_MANAGER
, BUSINESS_MANAGER
, PUBLISHER
"BUSINESS_MANAGER"
User provider label
"partoo"
User status in the application
active
, invited
"active"
The state of the User account.
false
Array of keywords
12
Timestamp representing the date the user was created
1615299414
Used internally at Partoo
""
Prevent the user from connecting directly from the Partoo connection page.
This field is available for users whose organization has defined an SSO configuration.
This field can be edited by a user with the role ORG_ADMIN
or PROVIDER
.