> ## Documentation Index
> Fetch the complete documentation index at: https://docs.peedief.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> Complete REST API documentation for template-based PDF generation

## Peedief REST API

The Peedief REST API provides programmatic access to template-based PDF generation. Submit structured JSON data to your custom templates and receive professional PDFs instantly.

## Key Features

* **Template-based generation**: Use your custom dashboard templates
* **JSON data input**: No HTML generation required
* **Instant PDF output**: Professional documents in one API call
* **Authentication**: Secure API key authentication

## Alternative Integration

<Info>
  Prefer AI-powered document generation? Try our [MCP Tools](/mcp-tools) that enable natural language PDF creation through AI assistants like Claude Desktop.
</Info>

<CardGroup cols={2}>
  <Card title="Template PDF Generation" icon="file-pdf" href="/api-reference/endpoint/template">
    Generate PDFs using your custom templates
  </Card>

  <Card title="PDF Creation" icon="file-plus" href="/api-reference/endpoint/create">
    Create PDFs from HTML content
  </Card>
</CardGroup>
