v1

latestOpenAPI 3.1.02026-07-263788129.7 KB
Tags

Create a Tag

Creates a new tag for the object given in the request body. Tag names must be unique per object type within the organization.

post/v1/tags/

Request body

object'contacts' | 'accounts' | 'opportunities' required

Object type a tag applies to, as exposed in the public API.

namestring required

Display name of the tag. Letters, numbers, and spaces only.

color'green' | 'blue' | 'red' | 'yellow' | 'purple' | 'berry' | 'peach' | 'gray'

Example request

{
  "name": "Enterprise"
}

Response

Successful Response

Example response

{
  "data": {
    "name": "Enterprise",
    "color": "blue"
  }
}