Authentication
Last updated
Last updated
The Dashworks API uses API keys for authentication. This page explains how to use API keys, how to obtain them, and best practices for managing them securely.
All API endpoints require authentication using an API key. To authenticate your requests:
Include an Authorization
header in your HTTP request.
Set the value to Bearer {api_key}
, replacing {api_key}
with your actual API key.
Example:
If you send an incorrect or deleted API key, you will receive a 401 Unauthorized response.
To generate API keys for your workspace:
Log in to your Dashworks account.
Navigate to Settings > API Keys.
Click on the "New API Key" button.
Only Admins can create and manage API keys. API keys are long-lived and do not expire automatically. You can delete API keys at any time by going to Settings > API Keys.
If you encounter any issues with authentication or have questions about API key management, please contact our .