Get Tag Relationships

GET {{baseUrl}}/api/tags/:id/relationships/:related_resource/

Get the relationships for a tag. If related_resource is tag-group, the request will return the tag_group_id of the tag group to which the tag belongs. If related_resource is set to campaigns, flows, lists, or segments, the request will return the IDs of all associated resources of that type. The scopes listed below are conditionally required depending on the specified related resource.

Rate limits:
Burst: 3/s
Steady: 60/m

Scopes: Flows Read Lists Read Segments Read Tags Read

HEADERS

KeyDatatypeRequiredDescription
revisionstring(Required) API endpoint revision (format: YYYY-MM-DD[.suffix])
Acceptstring

RESPONSES

status: OK

{"data":[{"type":"tag-group","id":"in velit nostrud consequat"},{"type":"tag-group","id":"non enim adipisicing nostrud"}]}