POST - Add an Attachment to a Note
Purpose
This API is used to add the attachment to a single note.
Request URL
Group Notes
https://mail.zoho.com/api/notes/groups/<groupid>/<entityId>/attachments/
Personal notes
https://mail.zoho.com/api/notes/me/<entityId>/attachments/
Request Parameters
Parameter | Data Type | Description |
GroupID* | Long | The unique identifier used for groups in the organization |
entityID* | Integer | The unique identifier used for the note. |
attach* | File | Attach files as a part of multipart form data |
Please refer Response Codes.
Group Notes-Sample Request
Copiedhttps://mail.zoho.com/api/notes/groups/1726251/36000000037002/attachments/
Personal Notes-Sample Request
Copiedhttps://mail.zoho.com/api/notes/me/36000000037002/attachments/
Sample Response
Copied{
"status": {
"code": 200,
"description": "success"
},
"data": {
"attachments": [{
"fileName": "Blog.txt",
"attachmentID": "4"
}, {
"fileName": "Webpage.jpg",
"attachmentID": "5"
}]
}
}