Connection Tokens
Check connection token
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.
get/connection/check_token
Request
- Base URLhttps://api.partoo.co/v2
- AuthAPI key in header x-APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
user_idstring required
User id
Example:5309c3a237bbc544d8e26737
tokenstring required
Example:\xaf3e8951c1f4c42f9cc53116b3fc855bd44bce01cf27604b
User connection token
Response
OK
Example response
{
"token": "\\xaf3e8951c1f4c42f9cc53116b3fc855bd44bce01cf27604b",
"expiration_date": "2019-08-02T19:15:54.256000+02:00",
"generated_by": "5309c3a237bbc544d8e26737",
"creation_date": "2019-08-01T19:15:54.256000+02:00",
"consumption_date": "2019-08-01T23:15:54.256000+02:00",
"status": "consumed"
}Changes
No recorded changes to this operation across all 2 revisions of this API.