Skip to main content
The Doozy API is currently in closed beta. To request access, please email hello@doozy.live.

Error Response Format

When an error occurs, the API returns a JSON response with an error object containing a code and message:

Error Codes

Handling Errors

Invalid API Key (401)

Causes:
  • The API key is missing from the request
  • The API key format is incorrect
  • The API key has been revoked or deleted
Solution: Verify your API key is correct and included in the x-api-key header.

Forbidden (403)

Causes:
  • Your user account doesn’t have permission to access this resource
  • You were removed as an admin/manager from the quiz or survey
Solution: Check your permissions in the Doozy dashboard. If you were recently removed from a resource, you’ll need to be re-added to regain API access.

Not Found (404)

Causes:
  • The resource ID is incorrect
  • The resource has been deleted
  • You don’t have access to view this resource
Solution: Verify the resource ID and your permissions.

Rate Limited (429)

Causes:
  • You’ve exceeded 1,000 requests per hour
Solution: Wait before making additional requests. Implement exponential backoff in your integration:
If you consistently hit rate limits, consider caching responses or reducing request frequency. Contact hello@doozy.live if you need higher limits.

Internal Error (500)

Causes:
  • An unexpected error on our servers
Solution: Retry the request after a short delay. If the issue persists, contact support@doozy.live.