Create Tag Relationships
POSThttps://a.klaviyo.com/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.
- Revision header
revision: 2023-01-24required- Scopes
Flows WriteLists WriteSegments WriteTags Write- Rate limits
- Burst:
3/sSteady:60/m
Path parameters
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2023-01-24
Request body
Content type: application/jsonrequired
Responses
204
This response has no body.
4XXClient Error
Content type: application/json
5XXServer Error
Content type: application/json