Create Tag Relationships
POST {{baseUrl}}/api/tags/:id/relationships/:related_resource/
Associate a tag with other resources. Any given resource cannot be associated with more than 100 tags.
The related_resource
can be one of campaigns
, flows
, lists
, or segments
.
Use the request body to pass in the ID(s) of the related resource(s) that will be associated with the tag.
The scopes listed below are conditionally required depending on the specified related resource.
Rate limits:
Burst: 3/s
Steady: 60/m
Scopes:
Flows Write
Lists Write
Segments Write
Tags Write
Request Body
{"data"=>[{"type"=>"segment", "id"=>"elit amet aliqua commodo"}, {"type"=>"segment", "id"=>"dolor dolor minim laboris"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
revision | string | (Required) API endpoint revision (format: YYYY-MM-DD[.suffix]) | |
Content-Type | string | ||
Accept | string |