API keys
Last updated
Last updated
You can authenticate Patchworks API requests using your dashboard credentials (OAuth 2) or API keys.
If your user account has at least , you can generate and manage API keys to authenticate Patchworks API requests.
'API keys' is an opt-in feature for users on any subscription tier - if you'd like to use it, please .
You can as many API keys as required.
API keys do not expire but existing keys can be or .
An API key must be passed as an authorization
value in request headers.
To generate a new API key, follow the steps below.
Step 1
Log into the , then select the general settings
option:
Step 2
Select the API keys
option:
Step 3
Click the create API key
button:
Step 4 A new key is generated - you can now copy this for use in your API requests,
Revoking an existing API key will cause requests to fail wherever this key is used, but the key remains in your list for future reference. If you're sure that you want to do this, follow the steps below.
Step 2 Click the ellipses associated with the key to be revoked - for example:
Step 3
Select the revoke
option - for example:
The key is revoked immediately and the timestamp for this action is displayed in the list of keys - for example:
If you're sure that you want to delete an API key, follow the steps below.
Step 2 Click the ellipses associated with the key to be deleted - for example:
Step 3
Select the delete
option - for example:
The key is removed immediately.
An API key must be passed as an authorization
value in request headers, for all requests.
Step 1
Log into the , then select general settings
| API keys
(as shown ).
Deleting an existing API key will cause requests to fail wherever this key is used. Deleted keys are removed entirely, so if you need to keep track of keys issued over time, you may wish to consider the option instead.
Step 1
Log into the , then select general settings
| API keys
(as shown ).