Segments

Create big segment import

POST
/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports

Start a new import process for a big segment. This is an import for a list-based segment that can include more than 15,000 entries.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

projectKey*string

The project key

Formatstring
environmentKey*string

The environment key

Formatstring
segmentKey*string

The segment key

Formatstring

Request Body

multipart/form-data

file?string

CSV file containing keys

mode?string

Import mode. Use either merge or replace

Formatstring
waitOnApprovals?boolean

Whether to wait for approvals before processing the import

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/segments/string/string/string/imports"
Empty