POST
/
oauth
/
token
Generate Token
curl --request POST \
  --url https://staging.yasmina.ai/oauth/token \
  --header 'Content-Type: application/json' \
  --data '{
  "grant_type": "client_credentials",
  "client_id": "your-client-key",
  "client_secret": "your-client-secret"
}'
{
  "error": "invalid_client",
  "error_description": "Client authentication failed",
  "message": "Client authentication failed"
}

Body

application/json

Response

401 - application/json

Unauthorized

The response is of type object.