v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Segments

Create an empty segment

Create an empty segment.

post/segments

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Request body

namestring required

Name of the empty segment.

notestring

Description of the empty segment.

priorityinteger

The priority of defined segment. The possible value range 0 - 100.

Example request

{
  "name": "Winter 2025 - Campaign",
  "note": "All customers that fits into criteria for winter campaign.",
  "priority": 47
}

Response

Created

Example response

{
  "data": {
    "segment_id": "86e05affc7a7abefcd513ab400"
  }
}