GET /hub/v1/nestedtags/{tagId}

Returns the tag associated with the specified tagId.

NameTypeDescription
depthnumberThe number of nesting levels to retrieve. The default depth is 0.
StatusNameTypeDescription
200  Response includes the specified tag and all of its properties, including nested tags at the level specified by the depth parameter.
 idintegerTagId of the tag.
 namestringName of the tag.
 descriptionstringDescription of the tag.
 parentIdstringTagId of the parent tag. This field is null or zero if no parent tag exists.
 tagsobjectA list of the tag’s nested tags. Add and modify nested tags using the Update Nested Tags or Patch Nested Tags requests.

This example gets a tag by ID.

This example gets a tag by ID and includes its nested tags one level deep.