Download rendered artifact
GET/office/documents/{id}/download
Downloads a completed render artifact in the requested format. The format query parameter can be used to request a format other than the default output format if the render job produced multiple formats. Returns the binary document stream.
Request
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The numeric ID of the document artifact to download. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
format | string | No | Requested output format. Defaults to the primary format produced by the render job. One of: |
Responses
200 Document binary stream
Content type application/pdf, string (binary).
Content type application/vnd.openxmlformats-officedocument.wordprocessingml.document, string (binary).
404 Document artifact not found
422 Requested format not available for this document — it was not rendered in that format
Example request
curl -X GET "https://{tenant}.faciotech.net/api/v1/office/documents/{id}/download" \
-H "Accept: application/json"