POST
/
api
/
v1
/
login
/
creds
curl --request POST \
  --url https://api.quackai.com/api/v1/login/creds \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'grant_type=<string>' \
  --data 'username=<string>' \
  --data 'password=<string>' \
  --data scope= \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>'
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.423fgFGTfttrvU6D1k7vF92hH5vaJHCGFYd8E",
  "token_type": "bearer"
}

Body

application/x-www-form-urlencoded
username
string
required
password
string
required
grant_type
string
scope
string
default:
client_id
string
client_secret
string

Response

200
application/json
Successful Response
access_token
string
required
Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.423fgFGTfttrvU6D1k7vF92hH5vaJHCGFYd8E"

token_type
string
required
Example:

"bearer"