Hyperscience API Overview

Hyperscience API Overview


Sunsetting API v4
We have sunset API v4 with the release of Hyperscience v38. If you are using API v4, migrate to v5 as soon as possible.
To learn more about our API deprecation policy, see our API documentation.

The Hyperscience API uses REST API endpoints and returns responses in JSON. The API supports a variety of use cases, including:

To learn more about the API, see our API documentation.

Authentication

Only users with the API Access permission can make API calls. To make API calls, you need to authenticate your user. There are two ways to authenticate, depending on your instance’s type:

Files submission

The Submission Creation endpoint gives you the option to submit files seamlessly through the API. To submit files, you need to make a POST request to /api/v5/submissions. This endpoint provides three ways of submitting files:

Accepted file types

The API supports submitting files in the following formats:

Note that if the ZIP file is password-protected or the images are encrypted, an error will appear.
Support for other file types is possible but with limitations. For more information, contact your Hyperscience representative.

Parameters

The only required parameter for processing files through the API is:

It is also possible to add optional parameters to your submissions for your convenience. To learn more about parameters, see our API documentation.

JSON outputs and objects

All API responses are in JSON format. Our main API data structure is an object. Within its structure, each of the objects contain arrays and other objects.

You can use the JSON outputs from each of the objects to:

OpenAPI specifications

OpenAPI specifications (f.k.a. Swagger specifications) provide standardized ways to interact with REST APIs and provide information about them. These standardizations make it easier for developers to create integrations with APIs in the languages of their choosing. To learn more about OpenAPI specifications, see Swagger's OpenAPI Specification page.

Hyperscience has built OpenAPI specifications for the following endpoints:

You can download these specifications from our API documentation.

For more information on our OpenAPI specifications, see MuleSoft's Anypoint Exchange.