AI Text Management API
AI Free-Text Assistant - 10 text-processing endpoints via LLM
Use your Client ID and Client Secret to request an access token. The three parameters (grant_type, client_id, client_secret) go in the request body as x-www-form-urlencoded; the only header is Content-Type.
curl -X POST https://mylogin.aruba.it/auth/realms/cmp-new-apikey-ai/protocol/openid-connect/token
-H "Content-Type: application/x-www-form-urlencoded"
-d "grant_type=client_credentials"
-d "client_id=<YOUR_CLIENT_ID>"
-d "client_secret=<YOUR_CLIENT_SECRET>"
The response contains the token in the access_token field and its lifetime in expires_in (seconds) ready to be used in the Authorize section. When it expires, request a new one.
Authentication
- HTTP: Bearer Auth
JWT issued by the identity provider. Format: 'Bearer <token>'
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |
Bearer format: | JWT |