Skip to main content
POST
/
authenticate
Authenticate
curl --request POST \
  --url https://api.sandbox.co.in/authenticate \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-api-secret: <x-api-secret>'
{
  "code": 200,
  "data": {
    "access_token": "eyJ0e...."
  },
  "timestamp": 1750687659809,
  "transaction_id": "3a31716a-6a4d-4670-83fe-849d8209e35a"
}
The access token has a validity of 24 hours. You can get a new token anytime using the Authenticate API. Read in detail about Authentication here. The access token you generate is NOT a bearer token. Pass it in authorization header without Bearer keyword.

Headers

x-api-key
string
required
Example:

"key_live...."

x-api-secret
string
required
Example:

"secret_live...."

x-api-version
string
Example:

"1.0"

Response

200 - application/json

200

code
number
Example:

200

data
object
timestamp
number
Example:

1750687659809

transaction_id
string
Example:

"3a31716a-6a4d-4670-83fe-849d8209e35a"