Authentication
To authenticate in the system, you need to know your domain name and access token. You can get them from your manager.
Request address: https://<INSTANCE>.inspector-cloud.com/api/v1.5/
INSTANCE
is the client's domain name, which is assigned by an Inspector Cloud employee. Each domain has a dedicated database, including access control, a full copy of the catalog of articles, reports, image storage.
Authentication
An access token is used for authentication on the server. It is issued by an Inpsector Cloud employee and sent to the user upon request.
Each API command must contain in the HTTP header «Token <your_token>
».
Example
curl –i –X GET
https://test.inspector-cloud.com/api/v1.5/reports/
-H 'Authorization: Token your_token'
If the token is not specified in the request or is specified incorrectly, the response will return with the code 403 (FORBIDDEN).
If you have any questions or problems, contact technical support.