Authentication
To authenticate your requests to the Zirius API, you will use an Access Token obtained after generating API keys and tokens. Here's how the authentication process works:
1. Generate API Key & Secret Key:
Before you can authenticate with the Zirius API, you need to generate an API key and a Secret key within the Zirius Pluss portal. Follow the steps outlined in the Generate API Key & Secret Key section to create these keys.
2. Obtain Access Token:
After generating your API key and secret key, you can use them to fetch an Access Token by making a request to the GetAccessToken endpoint of the Zirius API. This endpoint will authenticate your credentials and provide you with the necessary tokens for accessing the API endpoints. Follow the steps outlined in the GetAccessToken section to get token.
3. Use Access Token for Authentication:
Once you have obtained the Access Token, you can use it as the authorization key in the headers of your API requests to authenticate with the Zirius API. Include the Access Token in the Authorization header using the Bearer scheme.
Token Expiry:
Note that the Access Token has a limited validity period. If the token expires, you can use the Api key & Secret key to obtain a new Access Token. Refer to the Zirius API documentation for details on how to use the Api keys to obtain a new Access Token.
By following these steps, you can authenticate your requests to the Zirius API and access its endpoints securely.
Last updated