This API creates a new Custom File Segment from a CSV file URL.
| Rate Limit Name | Rate Limit |
|---|---|
| total active segment | The limit of the total number of active custom segments at a time for a client is 1000. |
| file_segment ops per hour | The total number of file segment operations (create/add/remove) per hour per client allowed is 10. |
| file_segment ops per day | The total number of file segment operations (create/add/remove) per day per client allowed is 100. |
| file_segment users per day | The total number of users uploaded via the File segment is limited to 2 million per day. (This limit is customizable, contact the MoEngage Support team). |
| file_size_limit | The size of the file from which the segment is created/updated. For each request, the file size limit is 150 MB. |
abcd not abcd,).abcd not "abcd" or a#bc).Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
Select the file content type.
text/csv, application/csv, application/vnd.ms-excel, text/plain, application/octet-stream, binary/octet-stream Set the database from which the data is available (MOE-DBNAME).
Configuration for the new file segment.
Schema for creating a new file segment.
Name of the custom segment. Must be unique for creation.
Name of the user attribute to use as an identifier (e.g., 'ID', 'email').
The data type of the attribute_name.
string, double A public, downloadable URL to a single-column CSV file.
Segment expiry time in days. The segment is archived after this time.
Callback URL to receive the result of segment processing.
List of email IDs to receive segment processing response.
Everything worked as expected.