Skip to main content

API Integration

This page outlines the requirements for a successful integration with the platform and its various applications. It is intended to provide an overview for our integrator partners.

Platform information can be accessed through webhooks and/or API interactions:

Generate Your API Token

All requests to the API must be authenticated with a token. To obtain a token, you need to generate it from the integrator platform. Access the Developers View:

Developer's view

On the API Keys tab, you can create a new token. Provide a name for your token, define its scope, and click on the Create button:

Token generation

Copy and store the generated token in a safe place. You can now use it to authenticate your requests.

Authenticate Your Requests

To authenticate a request, add the following HTTP header to your requests:

Authorization: Bearer <YOUR_TOKEN>

Environments

The platform’s API is available for the following environments:

EnvironmentBase URL
Testhttps://api.staging.viziosense.ai
Productionhttps://api.viziosense.com

Format Specifications

  • All endpoints available in the API are prefixed with /api/v1.
  • All endpoints accept and respond with JSON.
  • Depending on the method, headers are expected.

Exception Handling

Exceptions triggered will be returned in the body of the HTTP response:

ParameterTypeDescription
httpErrorIntegerHTTP error code
messageStringUser-friendly message

Exception Structure

Here is a list of errors that may be encountered:

HttpErrorApplication ErrorError Message
4004000Access token error
4034003Unauthorized access
4054005Unsupported method
5005000Server error