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.

Path parameters

projectKeystringRequired

The project key

environmentKeystringRequired

The environment key

segmentKeystringRequired

The segment key

Request

This endpoint expects a multipart form containing an optional file.
filefileOptional

CSV file containing keys

modestringOptional

Import mode. Use either merge or replace

waitOnApprovalsbooleanOptional

Whether to wait for approvals before processing the import

Response

Import request submitted successfully

{}
map from strings to any or null

Errors

Built with