{"files":{"SKILL.md":"---\nname: dynamicdocs\ndescription: \"DynamicDocs API skill. Use when working with DynamicDocs for templates. Covers 1 endpoint.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# DynamicDocs\nAPI version: 1.0\n\n## Auth\nApiKey ADVICEment API Key in header | ApiKey RapidAPI.com API Key in header\n\n## Base URL\nhttps://dynamicdocs.p.rapidapi.com\n\n## Setup\n1. Set your API key in the appropriate header\n2. Verify API access with a test request\n3. POST /templates/{template-token}/compile -- create first compile\n\n## Endpoints\n1 endpoint across 1 group. See references/api-spec.lap for full details.\n\n### Templates\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /templates/{template-token}/compile | Compile New Document PDF |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a compile?\" -> POST /templates/{template-token}/compile\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api DynamicDocs\n@base https://dynamicdocs.p.rapidapi.com\n@version 1.0\n@auth ApiKey ADVICEment API Key in header | ApiKey RapidAPI.com API Key in header\n@endpoints 1\n@toc templates(1)\n\n@endpoint POST /templates/{template-token}/compile\n@desc Compile New Document PDF\n@required {Content-Type: str=application/json # Should be set to \"application/json\"}\n@optional {doc-url-expires-in: int # The doc-url-expires-in is a numerical parameter which takes integers and describes after how many seconds the provided URL is available to download the document., latex-compiler: str(pdflatex/lualatex) # The latex-compiler parameter can take the following values:  pdflatex lualatex, latex-runs : int # The latex-runs is a numerical parameter and can take values of 1, 2 and 3., main-file-name: str # The main-file-name is a string parameter which identifies the main file to compile., doc-file-name: str # 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.}\n@returns(200) Document Status URL Created\n@errors {401: Unauthorized}\n@example_request {\"client\":{\"firstName\":\"John\",\"lastName\":\"Smith\",\"company\":\"ABC Company Pty Ltd\",\"location\":\"Cape Town, South Africa\",\"address\":\"xx Long Street\"},\"consultant\":{\"firstName\":\"Kobus\",\"lastName\":\"van der Merwe\",\"company\":\"XYZ Company Pty Ltd\",\"location\":\"Sandton, South Africa\",\"address\":\"xx Rivonia Road\"},\"servicesDescription\":\"perform analysis on the company's clients and identify existing market segments\",\"effectiveDate\":\"1 February 2021\",\"amount\":\"ZAR 100 000\"}\n\n@end\n"}}