Segment Preference

Add/Update Default Segment for Users

Sets the given Segment ID as the default segment for the provided list of User IDs under the specified Dataset ID. Users included in the list will have their default segment added or updated accordingly. Any users not included in the list will have their existing default-segment association under this dataset removed.

put/v1/segment/preference

Request

  • Base URL: https://api.leadboxer.com
  • URL: https://api.leadboxer.com/v1/segment/preference
  • Auth: API key in header x-api-key

Query parameters

emailstring required

Email associated with the account.

Request body

datasetIdstring required

Dataset ID for which you need to assign segment as default.

segmentIdinteger required

Segment ID which you want to assign as default.

usersinteger[]

List of User IDs for whom you need to assign a segment as default.

Response

Segment Preference updated successfully. No content returned.

Changes

No recorded changes to this operation across all 1 revision of this API.