Add link attachment to room
curl --request POST \
--url https://api.noux.app/api/v1/room/attachment/link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"roomId": "<string>",
"url": "<string>",
"name": "<string>"
}
'const options = {
method: 'POST',
headers: {
authorization: '<authorization>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({roomId: '<string>', url: '<string>', name: '<string>'})
};
fetch('https://api.noux.app/api/v1/room/attachment/link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.noux.app/api/v1/room/attachment/link"
payload = {
"roomId": "<string>",
"url": "<string>",
"name": "<string>"
}
headers = {
"authorization": "<authorization>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"attachmentId": "<string>"
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}Rooms
Add link attachment to room
Add a link attachment to a room. The attachment will be added to the default materials group. Authenticate using Bearer token with your Noux API key.
POST
/
api
/
v1
/
room
/
attachment
/
link
Add link attachment to room
curl --request POST \
--url https://api.noux.app/api/v1/room/attachment/link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"roomId": "<string>",
"url": "<string>",
"name": "<string>"
}
'const options = {
method: 'POST',
headers: {
authorization: '<authorization>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({roomId: '<string>', url: '<string>', name: '<string>'})
};
fetch('https://api.noux.app/api/v1/room/attachment/link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.noux.app/api/v1/room/attachment/link"
payload = {
"roomId": "<string>",
"url": "<string>",
"name": "<string>"
}
headers = {
"authorization": "<authorization>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"attachmentId": "<string>"
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}{
"error": true,
"code": "PARSE_ERROR",
"message": "<string>"
}Authorizations
Noux API key from your integration settings
Headers
Bearer token with Noux API key
Body
application/json
Response
Attachment added successfully
The created attachment ID