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

ParameterData TypeDescription
GroupID*LongThe unique identifier used for groups in the organization

* - Mandatory parameters

Request Body (JSON Object)

ParameterData TypeDescription
titleStringThe title of the note that is being added
content*StringThe content of the note that is being added
bookIdLongThe unique ID of book you want to add the note to
color*IntegerThe 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"
    }
}