Generating an API Key
Log in to the InQuest UI.
Click the authentication icon on the left menu bar, which is represented by a key.
Choose the user to generate an API key for by click the View button under the actions column for that user.
Generate the API Key by clicking on the 'Generate API Key' button.
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)`
Was this page helpful?