GET - Specific Label Details

 Purpose

The API retrieves the details of a specific label based on the Account ID and the Label ID provided in the Request. 

 Request URL

https://mail.zoho.com/api/accounts/<accountId>/labels/<labelId>

 Request Parameters

ParameterData TypeDescription
accountID*IntegeraccountID - The unique Identifier for a specific account of an user.  
labelID*IntegerlabelID - The unique Identifier for a specific label in the user account.  

* - Mandatory parameter

 Response Codes

Please refer Response Codes.

Sample Response

Copied{
  "status" : {
    "code" : 200,
    "description" : "success"
  },
  "data" : {
    "sequence" : 3,
    "labelId" : "5164940000000046003",
    "color" : "#96ccf5",
    "tagId" : "5164940000000046003",
    "displayName" : "Promos",
    "URI" : "https://mail.zoho.com/api/accounts/5164940000000008001/labels/5164940000000046003"
  }
}