{"name":"FormCraft Studio API","version":"839fdc2","base":"https://pdf.thetempleofdoom.com/api/v1","about":"Detect, fill, sign and flatten PDF forms. Files (uploads and results) are held in memory for 30 minutes and never written to disk. The browser editor at https://pdf.thetempleofdoom.com/app keeps everything on the device.","auth":"None needed: 60 tool calls per hour per IP. Send X-API-Key (free key at https://pdf.thetempleofdoom.com/account) for 300 per hour.","endpoints":[{"method":"GET","path":"/api/v1","what":"This explainer (HTML for browsers, JSON for agents)."},{"method":"GET","path":"/api/v1/openapi.json","what":"OpenAPI 3.1 description."},{"method":"GET","path":"/api/v1/health","what":"Liveness and version."},{"method":"POST","path":"/api/v1/files","what":"Upload a PDF as the raw request body (Content-Type: application/pdf). Returns file_id and a link. Kept in memory 30 minutes."},{"method":"GET","path":"/api/v1/files/{file_id}","what":"Download an uploaded or produced PDF."},{"method":"GET","path":"/api/v1/files/{file_id}/info","what":"Name, size, page count and expiry of a file."},{"method":"GET","path":"/api/v1/templates","what":"List blank fillable templates."},{"method":"GET","path":"/api/v1/templates/{id}.pdf","what":"Download a blank template."},{"method":"POST","path":"/api/v1/inspect","what":"Detect pages and fillable fields. Body: {file_id | template_id | pdf_base64}."},{"method":"POST","path":"/api/v1/plan","what":"Map profile details onto field names. Body: {field_names, profile}."},{"method":"POST","path":"/api/v1/fill","what":"Fill fields from JSON and flatten. Body: {file_id | template_id | pdf_base64, values, flatten?, file_name?}. Returns a download link."},{"method":"POST","path":"/api/v1/annotate","what":"Write text or images onto flat pages. Body: {file_id | template_id | pdf_base64, items, file_name?}. Returns a download link."},{"method":"POST","path":"/api/v1/merge","what":"Join 2-20 PDFs in order. Body: {files: [{file_id | template_id | pdf_base64, pages?}], file_name?}. Returns a download link."},{"method":"POST","path":"/api/v1/split","what":"Split by page ranges. Body: {file_id | template_id | pdf_base64, ranges: [\"1-2\",\"3-end\"], mode?: split|extract|every}. Returns download links."}],"examples":["curl https://pdf.thetempleofdoom.com/api/v1/templates","curl -X POST https://pdf.thetempleofdoom.com/api/v1/fill -H 'content-type: application/json' -d '{\"template_id\":\"contact-info\",\"values\":{\"Full Name\":\"Ada Lovelace\",\"Email Address\":\"ada@example.com\"}}'","curl -X POST https://pdf.thetempleofdoom.com/api/v1/files -H 'content-type: application/pdf' --data-binary @form.pdf","curl -X POST https://pdf.thetempleofdoom.com/api/v1/inspect -H 'content-type: application/json' -d '{\"file_id\":\"<id from upload>\"}'"],"mcp":{"url":"https://pdf.thetempleofdoom.com/mcp","transport":"streamable-http","card":"https://pdf.thetempleofdoom.com/.well-known/mcp.json","config":{"mcpServers":{"formcraft":{"url":"https://pdf.thetempleofdoom.com/mcp"}}},"tools":["inspect_pdf","plan_profile_fill","fill_pdf","annotate_pdf","list_templates","get_result","merge_pdfs","split_pdf","send_fax","fax_status"]},"openapi":"https://pdf.thetempleofdoom.com/api/v1/openapi.json","llms":"https://pdf.thetempleofdoom.com/llms.txt"}