# DynamicDocs API

> DynamicDocs API on Apizie: 1 endpoint (Compile New Document PDF) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/ai:rapidapi-dynamicdocs/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `ai:rapidapi-dynamicdocs`
- Category: Artificial Intelligence
- Status: byok
- Source: https://advicement.io/dynamic-documents-api
- Page: https://apizie.tech/api/ai/rapidapi-dynamicdocs
- OpenAPI: https://apizie.tech/api/ai/rapidapi-dynamicdocs/openapi.json

ADVICEment's [DynamicDocs API automates your document generation](https://advicement.io/dynamic-documents-api) and creates dynamic, optimized, interactive PDFs. Write your templates in LaTeX and call the API with JSON…

## Endpoints

### Compile New Document PDF
`POST https://apizie.tech/v1/ai:rapidapi-dynamicdocs/compile` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| template-token | string | yes | The template-token is available in your template settings after publishing your template. |
| doc-url-expires-in | integer | no | The doc-url-expires-in is a numerical parameter which takes integers and describes after how many seconds the provided URL is available to… |
| latex-compiler | string | no | The latex-compiler parameter can take the following values: pdflatex lualatex |
| latex-runs  | integer | no | The latex-runs is a numerical parameter and can take values of 1, 2 and 3. |
| main-file-name | string | no | The main-file-name is a string parameter which identifies the main file to compile. |
| doc-file-name | string | no | The doc-file-name is a string parameter which determines the name of the file. Note that the extension of the file is not required. |
| body | object | no | JSON request body |

## Example
```
curl "https://apizie.tech/v1/ai:rapidapi-dynamicdocs/compile" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the DynamicDocs API?
Create a free Apizie key, then send POST https://apizie.tech/v1/ai:rapidapi-dynamicdocs/compile with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the DynamicDocs API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. DynamicDocs itself also needs your own key from rapidapi.com.

### Can AI agents use the DynamicDocs API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key ai:rapidapi-dynamicdocs.

### What is the status of the DynamicDocs API?
Needs your own provider key (bring your own key)
