This endpoint lets you check the status of a connection token. To be able to check a connection token of a user, you need to have WRITE access on that user.
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.
User id
"5309c3a237bbc544d8e26737"
User connection token
"\\xaf3e8951c1f4c42f9cc53116b3fc855bd44bce01cf27604b"
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:
valid means it can be use to log inconsumed means it has been used to log inrevoked means it has been revoked before being used or expiredexpired means it has expired before being usedrevoked, consumed, expired, valid "consumed"