POST - Create a collection

Purpose

This API is used to create a new collection.

Request URL 

Group Bookmark

https://mail.zoho.com/api/links/groups/<groupid>/collections

Personal Bookmark

https://mail.zoho.com/api/links/me/collections

Request Parameters

ParameterData TypeDescription
GroupID*LongThe unique identifier used for groups in the organization
collectionName*String The name of the collection you want to create

* - Mandatory parameters

Response Codes

Please refer Response Codes.

 

Group Bookmark

Sample Request URL


				https://mail.zoho.com/api/links/groups/53658048/collections?collectionName=Reference			

Sample Response


				{
  "status": {
    "code": 200,
    "description": "success"
  },
  "data": {
    "collectionId": "752225000027750005",
    "collectionName": "Reference"
  }
}			

Personal Bookmark

Sample Request URL


				https://mail.zoho.com/api/links/me/collections?collectionName=Webpage			

Sample Response


				{
  "status": {
    "code": 200,
    "description": "success"
  },
  "data": {
    "collectionId": "752225000027750005",
    "collectionName": "Webpage"
  }
}