Download the PDF of a completed render. This is the document.file_url passed to a product module's afterDocumentGenerated hook.
For product module code only. Call it from product module code with the token the code runs with, or from the Root dashboard. API keys are rejected, so this endpoint cannot be tried from this page; integrations using an API key should use download a policy document render instead.
Only complete renders have a file; any other status returns 404.
Documents are opt-in per organization: unless the org_documents feature flag is enabled for your organization this endpoint returns 404.
403The request was made with an API key, or the caller is missing the communications:read permission.
404No such render, a policy render whose policy is outside the caller's user group, any other render when the caller is restricted to a user group, the render has no file (it is not complete), or documents are not enabled for the organization.