Create label
POST {{baseUrl}}/api/v1/labels
This API creates a label in your help center.
OAuth Scope
Desk.contacts.CREATE
Desk.settings.CREATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name (required) | <String> | Name of the label |
logoId | <long> | ID of the logo set for the label |
helpCenterId (required) | <long> | ID of the help center in which the label must be created |
preferences | <JSONObject> | Visual preferences related to the label/logo |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"modifiedTime":"2017-09-19T04:58:50.000Z","preferences":{"shape":"ROUNDED","bgColor":"#FFEE","textColor":"#FFEE"},"creator":{"photoURL":"https://desk.zoho.com/portal/api/user/6000000015895/photo?orgId=143315","name":"SupportAdmin","id":"310975130121"},"modifier":{"photoURL":"https://desk.zoho.com/portal/api/user/6000000015895/photo?orgId=143315","name":"SupportAdmin","id":"310975130121"},"name":"Pro Customer","count":"0","createdTime":"2017-09-19T04:58:50.000Z","id":"310975130110","helpCenterId":"310975130119","logoUrl":"https://desk.zoho.com/portal/api/publicImages/310975130121?portalId=5c9470fcc808cc98932703e28221d6c302e105dc4da8b23fafb6719abeecaa48"}