Get Tag by ID

Returns a single tag by ID.

Request

GET /v2/tags/123456793 HTTP/1.1
Authorization: Bearer oauth_token

Response

HTTP/1.1 200 OK
Content-Type: application/hal+json

{
  "_links" : {
    "self" : {
      "href" : "..."
    }
  },
  "id" : 123456793,
  "slug" : "dark-side",
  "name" : "Dark Side",
  "color" : "green"
}

Response fields

Path Type Description
id Number Unique tag identifier
name String Tag name as seen in the web application
slug String Slugified version of the tag value
color String Deprecated. Legacy tag color hex value. Use the styles object returned on tags embedded in conversation responses instead.