Generates an Oauth token to later use in our API’s
cURL
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" }
Unauthorized
The response is of type object.
object