Exchange client credentials for access token using OAuth2 Client Credentials Grant
POST
/auth/token
curl \
--request POST 'https://api.thankly.ai/auth/token' \
--header "Content-Type: application/json" \
--data '{"clientId":"string","clientSecret":"string"}'
Request examples
{
"clientId": "string",
"clientSecret": "string"
}
Response examples (200)
{
"accessToken": "string",
"tokenType": "bearer",
"expiresIn": 3600
}
Response examples (401)
{
"detail": "Invalid client credentials"
}