post https://api.trifft.io/v1/segment//assign-content
This endpoint assigns a segment to a specific content item. The segment can be identified by its UUID or slug. The content can be any supported type, such as a news article, deal, coupon, or reward. If the segment is already assigned to the content, the endpoint returns a 200 OK response without performing any action.
This endpoint supports batch operations via the Batch API, enabling multiple content assignments in a single request to optimize performance and reduce API calls.
Notice
If the content is already assigned to the specified segment, the endpoint will return a 200 OK response without performing any additional actions. No changes will be made to the existing assignment.