Upload and add file attachment to room
Upload a file and add it as an attachment to a room. The file will be uploaded to storage and added to the default materials group. Maximum file size is 2 GB. Use multipart/form-data with fields: roomId, name, and file (binary). Authenticate using Bearer token with your Noux API key. Example: curl -X POST … -H “Authorization: Bearer KEY” -F roomId=ROOM_ID -F name=“My file” -F file=@/path/to/document.pdf — note the @ before the file path, and do not set Content-Type manually (curl adds the boundary).
Authorizations
Noux API key from your integration settings
Headers
Bearer token with Noux API key
Body
Response
Attachment added successfully
The created attachment ID