academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Documents → Generate and download a booking document PDF

AI-generated

Summary

Generates a booking document PDF for the specified booking by sending a document request to the academyFIVE API. The response is returned as a binary file in n8n, with file metadata included in the JSON output.

Inputs

  • data.type (required) — Document type to request.
  • data.id (required) — Document identifier.
  • data.attributes.bookingId (required) — Booking ID for the document.
  • data.attributes.customProperties — JSON custom properties for the document; if empty, the API uses its default values.

Output shape

One binary file per input item, under binary property data, accompanied by a JSON metadata object.

The JSON metadata includes MIME type, filename, response headers, and status code. The filename is taken from the response headers or request URL when available, with data as a fallback. If continue-on-fail is enabled, failed items return a JSON error instead.

Links

Discussion