🔐Authorization
Bearer token must be added as Authentication key in the “HEADER” field in all requests to be sent to services via PerculusAPI.
Below are the parameters required to create ACCESS_TOKEN. This is the token we will use as the Bearer:
DOMAIN: The data in the ‘Account Title’ field above
ACCESS_KEY: The email address of the user we created for the API
SECRET_KEY: The password of the user we created for the API
ACCOUNT_ID
For ACCOUNT_ID data, you can contact your customer success manager and get the ‘ACCOUNT_ID’ belonging to your account.
All of these data can be collected from your environment variables as well. Just suffix each variable with PERCULUS_
, and SDKs will try to collect those information.
Use the following example to access ACCESS_TOKEN data.
After sending the following CURL request, ACCESS_TOKEN will be returned as the response.
Below you can see a sample response model:
The ACCESS_TOKEN will be required for all future services. Therefore, remember to keep your ACCESS_TOKEN in a safe place.
Last updated