Enabling API access
API access is disabled by default for all Doozy workspaces. Before anyone can generate an API key, an Admin must enable access for at least one role:1
Open Doozy settings
Navigate to your Doozy dashboard and open Settings.
2
Open API, MCP & Webhooks
Select API, MCP & Webhooks.
3
Choose the access level
Select the lowest role that can use the API, then save. Member access includes Managers and Admins. Manager access includes Admins.
Creating an API key
Anyone whose role meets the configured access level can generate an API key. Each person has their own key.1
Open API Settings
In your Doozy dashboard, navigate to the API keys section.
2
Generate New Key
Click Generate API Key to create a new key.
3
Copy and Store Securely
Copy your API key immediately. For security reasons, the full key is only shown once.
Using Your API Key
Include your API key in thex-api-key header with every request:
API Key Format
Doozy API keys follow this format:Access Scoping
API keys inherit the permissions of the user who created them. This means:- You can only access quizzes, surveys, and other resources that you have permission to view
- If you are removed as an admin from a quiz or survey, your API key will immediately lose access to that resource
- Different users’ API keys may have access to different resources based on their individual permissions
If you need to access data across your entire workspace, ensure the user generating the API key has appropriate permissions for all resources.
Rotating API keys
To rotate your API key (recommended periodically for security):1
Rotate the key
Select Rotate and confirm. Doozy immediately revokes the current key and creates its replacement.
2
Copy the new key
Store the new key securely. You cannot view the full key again after closing the page.
3
Update your integrations
Replace the revoked key in every integration and script that uses it.
Rate Limiting
The Doozy API enforces rate limits to ensure fair usage:
When you exceed the rate limit, the API returns a
429 Too Many Requests response. See the Errors page for details on handling this.
Rate limits are applied per API key. If you need higher limits, please contact us at hello@doozy.live.