Authentication

Generate Token

Issues the bearer token used for all subsequent authenticated calls.

post/api/generateToken

Request

  • Base URL
    https://jiof.trxns.in
  • URL
    https://jiof.trxns.in/api/generateToken
  • Auth
    none required

Request body

client_idstring required

Client credential.

client_secretstring required

Client secret credential.

Example request

{
  "client_id": "abcdoinUU4Ej0jOYONYKqL87768792hEA",
  "client_secret": "abcdefghigh1212873yyy98"
}

Response

Success

statusCodeinteger
statusDescstring

Example response

{
  "statusCode": 200,
  "statusDesc": "Login successful",
  "data": {
    "id": 1,
    "name": "Bharat",
    "email": "mayank@abc.com",
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9....."
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.