Skip to main content

How Authentication Works

WriterzRoom API requests use Bearer token authentication. On supported plans, API keys are generated from the product settings area and supplied in the Authorization header for each request.
Authorization: Bearer YOUR_API_KEY

Who Should Use API Access

API access is appropriate for users embedding WriterzRoom into applications, internal tools, automated content workflows, or editorial systems that need programmatic generation and retrieval.

Key Management Guidance

  • Store API keys securely, use environment variables, not hardcoded strings
  • Do not commit keys into client-side code or public repositories
  • Rotate keys if you suspect exposure or no longer need an integration

Generating an API Key

  1. Go to Settings → API Access
  2. Click Generate New Key
  3. Copy the key immediately, it will not be shown again
  4. Store it in your environment configuration

If Authentication Fails

Confirm that the key is present, current, and sent as a Bearer token. If the request still fails, regenerate the key in Settings and update the integration.
curl -X POST https://api.writerzroom.com/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template_id": "blog_article_generator", "style_profile_id": "general_blog", "inputs": {}}'
Last modified on March 12, 2026