Generate Token

POST /authorization/login

Body Required

Responses

POST /authorization/login
curl \
 -X POST https://open-api.hml.soupi.com.br/authorization/login \
 -H "Content-Type: application/json" \
 -d '{"appClientId":"string","appClientSecret":"string"}'
Request example
{
  "appClientId": "string",
  "appClientSecret": "string"
}
Request examples
{
  "appClientId": "string",
  "appClientSecret": "string"
}
Response examples (200)
{
  "access_token": "string",
  "expires_in": 42.0,
  "token_type": "string"
}
Response examples (200)
{
  "access_token": "string",
  "expires_in": 42.0,
  "token_type": "string"
}
Response examples (400)
{
  "message": {},
  "data": {}
}
Response examples (400)
{
  "message": {},
  "data": {}
}
Response examples (401)
{
  "message": {},
  "data": {}
}
Response examples (401)
{
  "message": {},
  "data": {}
}
Response examples (422)
{
  "message": {},
  "data": {}
}
Response examples (422)
{
  "message": {},
  "data": {}
}