If using the Client Credentials method, Samvaad will call this endpoint to exchange its Client ID and Client Secret for a short-lived JWT Bearer token.
Samvaad will authenticate to this endpoint using HTTP Basic Authentication. The returned access token will be cached and used in the Authorization header for all subsequent API calls until it expires.
Note: This endpoint is not needed if you opt for the static API Key authentication method.
HTTP Basic authentication for the /auth endpoint, using the Client ID as the username and the Client Secret as the password.
A unique identifier for this specific API call, generated by the client (Samvaad).
An identifier to trace a single request across multiple services.
The ISO 8601 timestamp of when the client sent the request.
The request body must specify the grant type as 'client_credentials'.
The OAuth2 grant type. Must be client_credentials.
"client_credentials"
Authentication successful. Returns a JWT access token.
The response from a successful authentication request.