Skip to product menu
Skip to main content

Create a Tag

Description

To create a new tag

Supported Modules: conversations, visitors, contacts, companies

Requested Payload:

  • name(Mandatory): The name of the tag.
  • color(Mandatory): The color code of the tag.
  • module(Mandatory): The name of the module to which the tag should be associated.

OAuth Scope:

​SalesIQ.tags.CREATE

Method: 

POST

URL

Copiedhttps://{zohosalesiq_server_uri}/api/v2/{screenname}/tags

Example

Copiedhttps://salesiq.zoho.com/api/v2/zylker/tags

Payload:

Copied{
    "name" : "USA", 
    "color" : "#fF7609", 
    "module" : conversations
}

Success Response

Copied{
    url: "/api/v2/zylker/tags",
    object: "tags_config",
    data:{
            id : "54000000002009",
            name : "USA",
            color : "#ff9807",
            module : "conversations",
            archived : false,
            status : "unarchived",
            modified_time: "1633353825877",
            modifier : {
                "name": "james",
                "modified_time": "1633353825877",
                "id": "11000000002001"
        }
    }
}