Generating an API Key

  1. Log in to the InQuest UI.

  2. Click the authentication icon on the left menu bar, which is represented by a key.

  3. Choose the user to generate an API key for by click the View button under the actions column for that user.

  4. Generate the API Key by clicking on the 'Generate API Key' button.

  5. The API key will appear at the bottom of the page under the "API Key" section.

    API usage example using curl and the files API:

curl -k \ '$URL_PREFIX/files/single?id=$FILE_ID&apikey=$API_KEY'

API usage example using Python, the session API, and the python-requests library:

`import requests

URL_PREFIX = '' API_KEY = '' SESSION_ID = '' url = URL_PREFIX + "session/single?id=" +
str(SESSION_ID) + "&apikey=" + API_KEY r = requests.get(url, verify=0) print(r.text)`

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
Generating an API Key