Skip to main content
POST
/
api
/
v1
/
room
/
attachment
/
file
Upload and add file attachment to room
curl --request POST \
  --url https://api.noux.app/api/v1/room/attachment/file \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'authorization: <authorization>' \
  --form 'roomId=<string>' \
  --form 'name=<string>' \
  --form file='@example-file'
{
  "attachmentId": "<string>"
}

Authorizations

Authorization
string
header
required

Noux API key from your integration settings

Headers

authorization
string
required

Bearer token with Noux API key

Body

multipart/form-data
roomId
string
required

Room ID to add attachment to

name
string
required

Name of the attachment, visible in the room UI

file
file
required

File to upload (required)

Response

Attachment added successfully

attachmentId
string
required

The created attachment ID