Authentication flow¶
After receive the JWT Token call the /api/v1/timpersonal/authorize endpoint passing the token received.
Example of request:
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.ew0KCSJ0ZWxlcGhvbmUiOiAiMDAzOTMzMTYwMDExODYiLA0KCSJ0aW1lIiA6ICIxNTM4NjY2NzMyIg0KfQ.lUnf_vVcYuIIDMAGis3vy-uUiy3QodgFT2zVDxh1La3z5q41-bnujrq55dMyEUnU-0Jw_O8rR6Lks1cvUtvYHg"
}
After validating the token you receive the xmpp password for login
Example of response:
{
"status": "200",
"datetime": 1539254091700,
"body": {
"token": "3abc72c0-cd41-11e8-a8d5-f2801f1b9fd1"
}
}