Skip to content

Public API

To automate your Escape scans, you can use the Escape REST API.

API Base URL & OpenAPI Documentation

The Escape REST public API documentation is available at https://public.escape.tech/v1/.

The OpenAPI specification is also downloadable from https://public.escape.tech/v1/openapi.json.

Authentication using API Key

To authenticate your requests, you need to pass your API key as headers.

You can find your API key in your Escape settings.

Now you can add the following header to your requests:

Authorization: Key <YOUR API KEY>

In the web UI, you can set the API key in the top section of the page, it will be used for all your requests.

API Key in the web UI

Basic Example

export APPLICATION_ID=<YOUR APPLICATION ID>
export API_KEY=<YOUR API KEY>

curl -X POST -H "Authorization: Key $API_KEY" https://public.escape.tech/applications/$APPLICATION_ID/start-scan