Skip to main content

API Keys

All API requests require authentication using a Bearer token.

Getting Your API Key

  1. Log in to the Diro Dashboard
  2. Navigate to API Keys
  3. Click “Create API Key”
  4. Give it a descriptive name
  5. Copy and securely store your key
API keys are shown only once. If you lose your key, you’ll need to create a new one.

Using Your API Key

Include your API key in the Authorization header:

Example Request

Plan Limits

API access is available on all plans, including Free. Each plan has different render limits.

Error Responses

Invalid API Key

Render Limit Exceeded

Security Best Practices

API keys should only be used in server-side code or secure environments.
Store API keys in environment variables, not in source code.
Create new keys and delete old ones regularly.
Create separate keys for development, staging, and production.