Segments import
Use this feature to add or remove user points from segments.
How-to
Use the bulk import endpoints to create a document import with the
USER_SEGMENT
document type andAPPLICATION_X_NDJSON
orTEXT_CSV
mime type.Create an execution with your user segment commands formatted in
ndjson
orcsv
depending on the mime type you chose.
User segment command
Each line in the uploaded file can have the following properties:
Example
You can have UPDATE and DELETE operations in the same file upload.
Please note, if not using csv
, that the uploaded data is in ndjson
and not json
. That means the different profiles are not separated by commas, but by a line separator \n
Last updated