Skip to main content
POST
/
login
Login
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": 123,
  "tokenType": "<string>",
  "refreshToken": "<string>"
}

Body

application/json
  • Option 1
  • Option 2

Allows you to log in with your clientId and clientSecret before receiving a refreshToken valid for 7 days, allowing you to log in again.

grantAccess
enum<string>
required
Available options:
clientSecret
clientId
string
required
clientSecret
string
required

Response

Successful operation

accessToken
string

Token to be used for bearerAuth.

expiresIn
number

Time in seconds before accessToken expires.

tokenType
string
refreshToken
string

Token valid for 7 days to be used to relogin.