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.
Query Parameters
User id
"5309c3a237bbc544d8e26737"
User connection token
"\\xaf3e8951c1f4c42f9cc53116b3fc855bd44bce01cf27604b"
Response
OK
New connection token
"\\xaf3e8951c1f4c42f9cc53116b3fc855bd44bce01cf27604b"
Expiration date of the token
"2019-08-02T19:15:54.256000+02:00"
Id of the user that created the token
"5309c3a237bbc544d8e26737"
Creation date of the token
"2019-08-01T19:15:54.256000+02:00"
Date the token was consumed, ie. used to log in
"2019-08-01T23:15:54.256000+02:00"
Status of the token:
validmeans it can be use to log inconsumedmeans it has been used to log inrevokedmeans it has been revoked before being used or expiredexpiredmeans it has expired before being used
revoked, consumed, expired, valid "consumed"