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 Client Id & Client Secret:

Before you can authenticate with the Zirius API, you need to generate a Client Id and Client Secret within the Zirius Pluss portalarrow-up-right. Follow the steps outlined in the Generate Client Id & Client Secret section to create these keys.

2. Obtain Access Token:

After generating your Client Id and Client Secret, you can use them to fetch an Access Token by making a request to the GetAccessTokenarrow-up-right endpoint. 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 Client Id and Client Secret to obtain a new Access Token. Refer to the Zirius API documentation for details on how to use the Api Client 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