Skip to main content

What You Can Do

Use the Templates API to discover available templates programmatically and retrieve template details before starting a generation flow. Especially useful when building a custom front end, an internal selection layer, or an automated workflow.

List Templates

GET https://api.writerzroom.com/v1/templates
Authorization: Bearer YOUR_API_KEY
{
  "templates": [
    {
      "id": "blog_article_generator",
      "name": "Blog Article",
      "category": "marketing",
      "description": "Long-form educational, informative, or thought leadership content"
    },
    {
      "id": "research_paper_template",
      "name": "Research Paper",
      "category": "academic",
      "description": "Formal, evidence-driven, analytically structured content"
    }
  ]
}

Get Template by Slug

GET https://api.writerzroom.com/v1/templates/{slug}
Authorization: Bearer YOUR_API_KEY

Supported Operations

  • List all templates
  • Retrieve a specific template by slug
  • Read template metadata: name, type, description, required input fields

Best Practice

Use template detail responses to drive your form layer. That makes your integration resilient because input requirements come from the template definition rather than from hard-coded assumptions.
Last modified on March 11, 2026