GET /hub/v1/nestedtags

Returns an array of tags owned by the requesting client.

NameTypeDescription
depthnumberThe number of nesting levels to retrieve. The default depth is 0.
StatusNameTypeDescription
200  Response includes an array of tags owned by the client, including each tag’s properties and 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 collection of all root tags but none of their nested tags.

This example gets a collection of all tags and includes their nested tags one level deep.