academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Documents → Generate and download a lectureship document PDF

AI-generated

Summary

Generates a lectureship document PDF using the supplied document data and returns the PDF as binary output.

Inputs

  • data (required) — Document payload. Supply a required type and id, plus required attributes.
  • data.attributes.lectureshipId (required) — Numeric ID of the lectureship.
  • data.attributes.lectureshipInvoiceId — Optional numeric ID of the lectureship invoice.
  • data.attributes.customProperties — Optional JSON custom properties; when empty, the API uses its default values.

Output shape

One n8n item per input item, with the PDF in binary property data.

The item’s JSON includes mimeType, fileName, response headers, and statusCode. The filename comes from the response Content-Disposition header when available, otherwise from the request URL, with data as a fallback. If Continue On Fail is enabled, request errors are returned in an item’s json.error.

Links

Discussion