academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Documents → Generate and download a booking document PDF

AI-generated

Summary

Generates and downloads a booking document PDF using the supplied document data. The API response is returned as binary file data for downstream workflow steps.

Inputs

  • data.type (required) — Document type sent in the request body.
  • data.id (required) — Document ID sent in the request body.
  • data.attributes.bookingId (required) — Booking ID for the document.
  • data.attributes.customProperties — Optional JSON properties for the document. If empty, the API uses its default values.

Output shape

One item per input item, containing the PDF as binary data in the data property.

Each item’s JSON includes the MIME type, filename, response headers, and status code. The filename is taken from the response headers or request URL when available; otherwise it defaults to data.

Links

Discussion