Prerequisite: Please ensure you have read the VISE Overview before proceeding as the API endpoint is based on your VISE url which is dynamic.Where vise-url is mentioned, we are referring to your actual VISE domain, not ‘vise-url’. Explained in the VISE overview.
Disclaimer
The Vecurity VISE API endpoint requires multi level authentication in order to gain access to using the endpoints required.Authentication Flow
Please see a step by step breakdown on how to gain access to your VISE API endpoint.- Login to Vecurity Dashboard
- Visit the ‘My Account’ section and gather your API token from the dashboard.
-
Make use of the Vecurity Domains API to gather your domains, authenticated with the API token from the previous step.
-
Using the Domains endpoint, you will need to gather the following details in order to construct your Vecurity VISE authentication URL for creating the session to your domain.
-
domain_vise_url
- The URL of your VISE endpoint -
domain_vise_phrase
- The key phrase to create a session on VISE.
-
- Please note that there is an expiry on the session
-
You need to construct your endpoint like so:
https://{domain_vise_url}/auth?pfk={domain_vise_phrase}
-
Using the Domains endpoint, you will need to gather the following details in order to construct your Vecurity VISE authentication URL for creating the session to your domain.
-
Now that you have your VISE URL, you will need to invoke a request to that endpoint, either utilising the response cookies and taking the
session
cookie in your next requests, or you can make use of creating a requests session. - Once you have your VISE URL, authenticated by your Session, you also need to make use of your API token once again that you retrieved from the Vecurity Dashboard