POST - Create a Note
Purpose
This API is used to create a note.
Request URL
Group Notes
https://mail.zoho.com/api/notes/groups/<GroupID>
Personal Notes
https://mail.zoho.com/api/notes/me
Request Parameters
Parameter | Data Type | Description |
GroupID* | Long | The unique identifier used for groups in the organization |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Description |
title | String | The title of the note that is being added |
content* | String | The content of the note that is being added |
bookId | Long | The unique ID of book you want to add the note to |
color* | Integer | The unique identifier used to denote the color of a note (Notes color code: 0 - blue, 1 - green, 2 - yellow, 3 - red) |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
Copiedhttps://mail.zoho.com/api/notes/groups/1726251
Sample Request Body
Copied{
"title": "Manager's meeting",
"content": "Agenda for the meeting:
1. Roadmap for the next quarter
2. Talk about the design process
3. How do we improve the onboarding?
4. Should we expand the support team?",
"bookId": "36000000002001",
"color": "1"
}
Sample Response
Copied{
"status": {
"code": 201,
"description": "Created"
},
"data": {
"entityId": "29000000192001",
"URI": "http://mail.zoho.com/api/notes/groups/1726251/29000000192001"
}
}
Personal Notes
Sample Request
Copiedhttp://mail.zoho.com/api/notes/me
Sample Request Body
Copied{
"title": "Manager's meeting",
"content": "Agenda for the meeting:
1. Roadmap for the next quarter
2. Talk about the design process
3. How do we improve the onboarding?
4. Should we expand the support team?",
"bookId": "36000000002001",
"color": "1"
}
Sample Response
Copied{
"status": {
"code": 201,
"description": "Created"
},
"data": {
"entityId": "29000000192001",
"URI": "http://mail.zoho.com/api/notes/me/29000000192001"
}
}