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

# Introduction

> Generate pixel-perfect PDFs from templates via a simple REST API.

Platendoc is a no-code document generation platform. Build templates visually in the portal, then trigger generation from your backend with a single API call.

## How it works

<Steps>
  <Step title="Build a template">
    Use the Platendoc portal to create a Liquid-powered template. Define variables, layout your document, and publish.
  </Step>

  <Step title="Get an API key">
    In the portal, go to **API Keys** and create a key with the scopes you need.
  </Step>

  <Step title="Trigger generation">
    Call `POST /v1/generations` with your template ID and variable values. The document is rendered asynchronously.
  </Step>

  <Step title="Download the output">
    Poll `GET /v1/generations/{id}` until `status` is `COMPLETED`, then download from `outputUrl`.
  </Step>
</Steps>

## Output

Generations produce a `pdf` file rendered via headless Chromium — pixel-perfect layout, matching what you designed in the portal.

## Base URL

All API requests go to:

```
https://api.platendoc.com/v1
```

## Rate limits

Requests are rate-limited per API key. On limit, the API returns `429 Too Many Requests` with a `Retry-After` header.

## Need help?

* Browse the [API Reference](/api-reference/overview)
* Contact support at [hello@platendoc.com](mailto:hello@platendoc.com)
