Authorization API
POST
/api/v1/Instify/Authorization
Click to copy
Use this endpoint to generate an authorization token required to access protected API endpoints.
Request Parameters
orderIdstring
A unique identifier for the order or request used while generating the authorization token.
Response Parameters
responseCodestring
HTTP-style response code indicating the result of the request.
responseMessagestring
Human-readable message describing the response status.
data.tokenstring
Authorization token to be included in the header of subsequent API requests.
Curl
1curl -X POST https://api.instifi.com/api/v1/Instify/Authorization \
2-H "Content-Type: application/json" \
3-H "X-CLIENT-KEY: [YOUR_CLIENT_KEY]" \
4-H "X-CLIENT-ID: [YOUR_CLIENT_ID]" \
5-H "X-SECRET-KEY: [YOUR_SECRET_KEY]" \
6-d '{
7 "orderId": "Order2024817"
8}'1{
2 "responseCode": "200",
3 "responseMessage": "Success",
4 "data": {
5 "token": "MTZETmVmT2Q0a2xZUW53UXJReW1OeVhOcHYvb1BhSmVBRmtiTDRxVSs1MUkrdWNtbVpHV1RmMi96QUFLejVDcDBjTG4zQjcrYk9TSVo2QjAwVGV5TVpITTNoQWtoSk5yMTZwa2NZWjU4ZXM9"
6 }
7}