Assign Segment to Content

Assign a segment to a content item, restricting visibility or eligibility of that content to segment members.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.

Path Params
string
required

UUID or slug of Segment

Body Params
string
enum
required

Type of Content

Allowed:
string
required

UUID of Content

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json