Create Tag Relationships Segments

POST {{baseUrl}}/api/tags/:id/relationships/segments/

Associate a tag with one or more segments. Any segment cannot be associated with more than 100 tags.

Use the request body to pass in the ID(s) of the segments(s) that will be associated with the tag.

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

Scopes: segments:write tags:write

Request Body

{"data"=>[{"type"=>"segment", "id"=>"<string>"}, {"type"=>"segment", "id"=>"<string>"}]}

HEADERS

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