Authentication
Interaction with our APIs can be done in two modes which are test or live mode.
For both cases, you will be profiled within our system and a secret key will be generated for you. The test key will always have _TEST as part of the key. For example (SPSECK_TEST_5744c00cce04786274a3728478f1f0af30fa8d83afece07f67c436da7cfa8ea6_0)
To authorize API calls from your server, pass your secret key as a bearer token. This means passing Authorization header with a value of "Bearer YOUR_SECRET_KEY"
curl --location --request POST '{baseUrl}/developer/upload/entity' \
--header 'Content-Type: application/x-zip-compressed' \
--header 'Authorization: bearer_token'{
"ResponseCode": "00",
"ResponseMessage": "Successful",
"Data": null
}{
"ResponseCode": "01",
"ResponseMessage": "Invalid Secret Key",
"Data": null
}Last updated