Add New Tag

Add a tag

Add a new tag

POST https://{{account_id}}.acquire.io/api/v1/crm/tag

Add a new tag. To choose a color, use hex colors codes and set them to the key of "color". Tags must have unique names. See example body below.

Headers

Request Body

{
  "data": {
    "dateCreated": "2021-03-18T08:11:17.000Z",
    "userId": 12,
    "name": null,
    "color": null,
    "type": null,
    "id": 2,
    "user": {
      "departments": [],
      "roles": [],
      "id": 12,
      "name": "vivek",
      "firstName": "vivek",
      "lastName": "",
      "photo": "",
      "email": "vivek@acquire.io",
      "clientId": "",
      "parentId": 0,
      "metaDetails": {
        "isBotClient": false,
        "label": ""
      },
      "type": "user",
      "accessLevel": null
    }
  }
}

Body

{
        "name": "apitest3",
        "color": "#c034eb",
        "type": ["case", "contact"]
}

Last updated