Authenticate

21522152

Overview

  • The API takes API Key and Secret and returns JWT Access Token which is required to use Sandbox APIs

πŸ“˜

Access Token will be valid for only 24 hours

Use Authorize API for updating it.

Endpoint

API EndpointAPI Endpoint

Request

The API takes API Key & Secret as Headers.

Headers

HeaderTypeDescriptionExample
x-api-keystringAPI key is a public key to identify users when calling any Sandbox API.key_live_ZUQT5UEf4RCU7wGafzvDVXXwYYsz58XP
x-api-secretstringSecret key is a private key to authenticate your access to the given API request.secret_live_12345AbCDe.......

Response

ParamDescriptionExample
access_token The JWT Token that is required for calling all the Sandbox APIs.eyJhbGciOiJIUzUxMiJ9.eyJhdWQiOiJBUEkiLCJyZWZyZXNoX3Rva2VuIjoiZXlKaGJHY2lPaUpJVXpVeE1pSjkuZXlKaGRXUWlPaUpCVUVraUxDSnpkV0lpT2lKclpYbGZiR2wyWlY5QlpHVXFLaW9xS2lvcUtpb3FLaW9xS2lvcUtpb3FLaW9xS2lvcUtsVjRjeUlzSW1Gd2FWOXJaWGtpT2lKclpYbGZiR2wyWlY5QlpHVXFLaW9xS2lvcUtpb3FLaW9xS2lvcUtpb3FLaW9xS2lvcUtsVjRjeUlzSW1semN5STZJbUZ3YVM1ellXNWtZbTk0TG1OdkxtbHVJaXdpWlhod0lqb3hOVGt3T1RZNU5qQXdMQ0pwYm5SbGJuUWlPaUpTUlVaU1JWTklYMVJQUzBWT0lpd2lhV0YwSWpveE5UVTVNelEzTWpBd2ZRLnFPX2pDczllM2hnVGExb24zZWtnZGptUmtpallOeTZ5TVNLcjlJdE9xc0Y2bWJXTHpNNGtOUDZvbUhCZDFsUjJOYlkzVlg3bFdSUXBxOU81WGM5U2dnIiwic3ViIjoiam9obkBkb2UuY29tIiwiYXBpX2tleSI6ImtleV9saXZlX0FkZSoqKioqKioqKioqKioqKioqKioqKioqKioqVXhzIiwiaXNzIjoiYXBpLnNhbmRib3guY28uaW4iLCJleHAiOjE1OTEwNTYwMDAsImludGVudCI6IkFDQ0VTU19UT0tFTiIsImlhdCI6MTU5MDk2OTYwMH0.3ecbsnzIqQhUNO2ZujxCkmFo5W_5e3DQVbJPi04PWrSvsU1Uk0TpRqa4hnzeOgBc7Xmvv7HoNYAcaopQ6cl1Tg

Get API Key & Secret from Sandbox Dashboard

  • Upon signup, you can generate an API key and Secret key through the dashboard.
  • You can obtain your API key from the API dashboard by clicking on your subscription
19171917
  • Under the API Key tab, you will find your public keys. Click on the "eye icon" next to the API key to obtain the API secret
19111911

πŸ“˜

Different API Keys per application

You can create a new API key for each project with different subscriptions and use them on multiple projects at once. You will be able to see separate subscriptions and analytics per API key.