Skip to main content
POST
/
auth
/
login
Login
curl --request POST \
  --url https://homolog.clubfix.com.br/webservice/auth/login \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --header 'X-CREDENTIALS: <x-credentials>' \
  --data '
{
  "client_id": "{{client_id}}",
  "client_secret": "{{client_secret}}"
}
'
{
  "access_token": "6|KPFUf8qNNernBuWdnxqSxFSceKPuPDQII2hqqKyi",
  "token_type": "Bearer",
  "expires_in": "2023-07-26 12:09:41"
}
Accept
string
required
Cabeçalho que indica o tipo de conteúdo aceito na resposta. Deve ser sempre application/json.
Content-Type
string
required
Cabeçalho que indica o tipo de conteúdo enviado na requisição. Deve ser sempre application/json.
X-CREDENTIALS
string
required
Credenciais codificadas em Base64 no formato email:password. O email e a senha devem ser divididos com : e convertidos para Base64 (RFC 4648).Exemplo: base64_encode([email]:[password])

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string
required
Content-Type
string
required
X-CREDENTIALS
string
required

Body

application/json
client_id
string
client_secret
string

Response

200 - application/json

Login Response

access_token
string
token_type
string
expires_in
string