Skip to main content
POST
/
api
/
v1
/
auth
/
login
Login
curl --request POST \
  --url https://api.example.com/api/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "client_secret": "<string>",
  "grant_type": "<string>"
}
'
{
  "access_token": "<string>",
  "token_type": "bearer"
}

Body

application/json

Schema for user login.

client_id
string
required
client_secret
string
required
grant_type
string
required

Response

Successful Response

Schema for JWT token response.

access_token
string
required
token_type
string
default:bearer