Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 735 Bytes

api_keys.rst

File metadata and controls

24 lines (15 loc) · 735 Bytes

API Keys

API Keys allows authentication to Wooey for remote access, such as through an automated job runner.

API Keys can be managed and accessed via the User Profile interface

image

From here, a user can create a new API key, toggle the status of an API key, or delete it. During creating, a modal window will provide the API key. This is the only time this key will be shown, as it is stored in the database as a hash.

Example Usage

Here is a simple example of how to set the API key credentials in the request header:

import requests

response = requests.post('https://wooey.fly.dev/xxx', headers={'Authorization': 'Bearer your_token_here'})