DynamicDocs
rapidapi · Developer Tools
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 data to get your PDFs in seconds. The template files are stored in your dashboard and can be edited, tested and published online. Document templates can contain dynamic text using logic statements, include tables stretching multiple pages and show great-looking charts based on the
Authentication
Sample Requests
Compile a PDF document from a specific template
Hover any highlighted part to learn what it does
| Content-Type | application/json |
curl -X POST "https://api.apis.guru/v2/specs/rapidapi.com/dynamicdocs/1.0/templates/{template-token}/compile?latex-runs =1&doc-file-name=brilliantDocument&latex-compiler=pdflatex&main-file-name=inputFile.tex&doc-url-expires-in=3600" \
-H "Content-Type: application/json"import requests
params = {
"latex-runs ": "1",
"doc-file-name": "brilliantDocument",
"latex-compiler": "pdflatex",
"main-file-name": "inputFile.tex",
"doc-url-expires-in": "3600"
}
headers = {
"Content-Type": "application/json"
}
response = requests.post(
"https://api.apis.guru/v2/specs/rapidapi.com/dynamicdocs/1.0/templates/{template-token}/compile",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/rapidapi.com/dynamicdocs/1.0/templates/{template-token}/compile');
url.searchParams.set('latex-runs ', '1');
url.searchParams.set('doc-file-name', 'brilliantDocument');
url.searchParams.set('latex-compiler', 'pdflatex');
url.searchParams.set('main-file-name', 'inputFile.tex');
url.searchParams.set('doc-url-expires-in', '3600');
const response = await fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/rapidapi.com/dynamicdocs/1.0/templates/{template-token}/compile")
q := baseURL.Query()
q.Set("latex-runs ", "1")
q.Set("doc-file-name", "brilliantDocument")
q.Set("latex-compiler", "pdflatex")
q.Set("main-file-name", "inputFile.tex")
q.Set("doc-url-expires-in", "3600")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/rapidapi.com/dynamicdocs/1.0/templates/{template-token}/compile")
uri.query = URI.encode_www_form({
"latex-runs " => "1",
"doc-file-name" => "brilliantDocument",
"latex-compiler" => "pdflatex",
"main-file-name" => "inputFile.tex",
"doc-url-expires-in" => "3600"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["Content-Type"] = "application/json"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/rapidapi.com/dynamicdocs/1.0/templates/{template-token}/compile?" . http_build_query([
"latex-runs " => "1",
"doc-file-name" => "brilliantDocument",
"latex-compiler" => "pdflatex",
"main-file-name" => "inputFile.tex",
"doc-url-expires-in" => "3600"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"Content-Type: application/json"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with DynamicDocs?
DynamicDocs is a Developer Tools API. Developers commonly use developer tools APIs for:
- automating code review and quality checks
- integrating CI/CD pipelines and build systems
- managing feature flags and A/B tests
- monitoring errors and application performance
- generating and validating test data
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. DynamicDocs is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?