academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Documents → Generate and download a curriculum document PDF

AI-generated

Summary

Sends a request to generate and download a curriculum document PDF using the supplied document data. Returns the PDF as binary output named from the response headers or request URL when available.

Inputs

  • data (required) — Document data: required type and id, plus required attributes.
  • attributes.studyProgramId (required) — Study program ID for the curriculum document.
  • attributes.cohortId — Optional cohort ID.
  • attributes.customProperties — Optional JSON custom properties; when empty, the API uses default values.

Output shape

One binary file per input item, in the binary property data, accompanied by JSON metadata.

JSON metadata includes mimeType, fileName, response headers, and statusCode. The filename is taken from Content-Disposition when present, otherwise from the request URL, falling back to data; MIME type uses the response Content-Type or an operation fallback.

Links

Discussion