Assign a segment to a content item, restricting visibility or eligibility of that content to segment members.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
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.
NoticeIf 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.