Platform Authentication — Colabbe APIs
Authenticates the user on the senior X Platform and returns an access token, which allows making requests.
API definitions:
url
POST<platform_url>/t/senior.com.br/bridge/1.0/rest/platform/authentication/actions/Login
replace<platform_url>by the URL corresponding to your environment. If it's the production environment, replace it with:https://platform.senior.com.br
Header
| Content-Type | application/json |
|---|
parameters
* Required
| Parameter | Type | Description |
|---|---|---|
| username * | String | Senior X platform user login email (user@tenant). |
| password * | String | User access password. |
Example
{ "username": "teste@teste.com.br", "password": "teste123" }
|
Response
The result of this call should look like this:
{ “jsonToken”: “{\”scope\”:\”desktopdevice_29b6c590-11af-49f7-af0f-47228409aef9\”, \”expires_in\”:604800,\”username\”:\”teste@teste.com.br ”\”,\”token_type\”:\”Bearer\”, \”access_token\”:\”a9d2559bb56a4af6f9dbbdf8b700d690\”, \”refresh_token\”:\”422285a10320870224b9354757ea0567\”}” } |
the content ofaccess_token is the access key that tells the platform that you are accessing it.
Copy the content of this access key, as it will be used to call the other APIs and authenticate.
It is very important not to pass on the access key to anyone, as any user who has it will be able to access the platform as if they were you.

English
Español


