academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Documents → Generate and download a subject version document PDF

AI-generated

Summary

Requests generation of a PDF for the specified academyFIVE subject version and returns the downloaded file as binary data.

Inputs

  • data (required) — Request body with required type and id strings and an attributes object.
  • data.attributes.subjectVersionId (required) — Subject version ID to generate the document for.
  • data.attributes.customProperties — JSON custom properties for the document; if empty, the API uses its default values.

Output shape

One binary file item per input item, with the file in binary.data.

The JSON metadata includes mimeType, fileName, response headers, and status code. The filename is taken from the response headers or request URL when available.

Links

Discussion