Ninox icon

Ninox

Complete Ninox API integration with all available endpoints

File → Upload

AI-generated

Summary

Upload a file as binary data to a specific record in a Ninox database table within a specified team.

Inputs

  • Team Name or ID (required) — Select the team (workspace) or provide its ID where the database resides.
  • Database Name or ID (required) — Select the database or provide its ID containing the target table.
  • Table Name or ID (required) — Select the table or provide its ID containing the target record.
  • Record ID (required) — Specify the ID of the record to which the file will be attached.
  • Input Data Field Name (required) — The name of the binary property in the incoming data that contains the file content to upload.

Output shape

a single JSON object per file upload input indicating success status and uploaded file name

Returns an object with success, message, and fileName fields confirming the upload. Throws an error if the specified binary data is missing or if the upload fails.

Examples

Example 1: Uploading an image file stored in a binary property named 'data' to a record in Ninox

Set the Team, Database, and Table by selection or ID, specify the Record ID, and set 'Input Data Field Name' as 'data'.

Discussion