Products
Claims
Auth
Generate Token
Generates an Oauth token to later use in our API’s
POST
/
oauth
/
token
Generate Token
Copy
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"
}'
Copy
{
"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
.
Generate Token
Copy
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"
}'
Copy
{
"error": "invalid_client",
"error_description": "Client authentication failed",
"message": "Client authentication failed"
}
Assistant
Responses are generated using AI and may contain mistakes.