cURL
curl --request POST \ --url https://www.wander-service.fr/api/clients/login \ --header 'Content-Type: application/json' \ --data '{ "grantAccess": "clientSecret", "clientId": "<string>", "clientSecret": "<string>" }'
{ "accessToken": "<string>", "expiresIn": 3600, "tokenType": "Bearer", "refreshToken": "<string>" }
It generates a refreshToken valid for 7 days to relogin and an accessToken valid for 1 hour to use the next endpoints.
Allows you to log in with your clientId and clientSecret before receiving a refreshToken valid for 7 days, allowing you to log in again.
clientSecret
Successful operation
Token to be used for bearerAuth.
Time in seconds before accessToken expires.
3600
"Bearer"
Token valid for 7 days to be used to relogin.
Was this page helpful?