Label Details

The Label APIs help you to get and update information about the label details of a particular user account.

While using Folder-related API, use the OAuth Scope ZohoMail.tags.

Method NameURLMethod TypeOAuth ScopePurpose
Create a New Label/api/accounts/{accountId}/labelsPOSTZohoMail.tagsTo create a new Label with the specified name and colour.  
Get All Label Details/api/accounts/{accountId}/labelsGETTo get the details of the labels in the account, along with the Label Id details.
Get a Specific Label Details /api/accounts/{accountId}/labels/{labelId}GETTo get the details of a particular label, based on the Label Id. 
Update a Label/api/accounts/{accountId}/labels/{labelId}PUTTo rename a particular label with the specified name and/or change the colour of the label. 
Delete a Label/api/accounts/{accountId}/labels/{labelId}DELETETo delete the label and remove the tagging of that label from the emails.