POST
Obtain a JWT Access Token

Authorizations

Authorization
string
header
required

HTTP Basic authentication for the /auth endpoint, using the Client ID as the username and the Client Secret as the password.

Headers

x-request-id
string<uuid>
required

A unique identifier for this specific API call, generated by the client (Samvaad).

x-trace-id
string<uuid>

An identifier to trace a single request across multiple services.

x-request-timestamp
string<date-time>
required

The ISO 8601 timestamp of when the client sent the request.

Body

application/x-www-form-urlencoded

The request body must specify the grant type as 'client_credentials'.

grant_type
string
required

The OAuth2 grant type. Must be client_credentials.

Example:

"client_credentials"

Response

Authentication successful. Returns a JWT access token.

data
object
required

The response from a successful authentication request.