academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Documents → Generate and download a submission internship document PDF

AI-generated

Summary

Generates and downloads a submission internship document as a PDF by sending the required document data to the academyFIVE API. The response is returned as binary file data, with filename and response metadata included in the output JSON.

Inputs

  • data.type (required) — Document data type sent in the request body.
  • data.id (required) — Document data ID sent in the request body.
  • data.attributes.submissionId (required) — Submission ID used to generate the internship document.
  • data.attributes.customProperties — JSON object of custom document properties; if omitted or empty, the API's default values are used.

Output shape

One binary PDF file per input item, with a JSON metadata object.

The binary is available under binary.data. The JSON includes mimeType, fileName, response headers, and statusCode. The filename is taken from the response Content-Disposition header when available, otherwise from the request URL, with data as a fallback. On failure, the node throws unless Continue On Fail is enabled, in which case it returns an error object for that item.

Links

Discussion