Login
Request an access token using GitHub OAuth
Login
Request an access token using GitHub OAuth
POST
/
api
/
v1
/
login
/
token
curl --request POST \
--url https://api.quackai.com/api/v1/login/token \
--header 'Content-Type: application/json' \
--data '{
"github_token": "ghp_eyJhbGciOiJIUzI1NiIsInR5cCI"
}'
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.423fgFGTfttrvU6D1k7vF92hH5vaJHCGFYd8E",
"token_type": "bearer"
}
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.quackai.com/api/v1/login/token \
--header 'Content-Type: application/json' \
--data '{
"github_token": "ghp_eyJhbGciOiJIUzI1NiIsInR5cCI"
}'
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.423fgFGTfttrvU6D1k7vF92hH5vaJHCGFYd8E",
"token_type": "bearer"
}