Upload a Segment File

Upload a file to use as the source for a mapped user list segment. This is the first of two steps to create a segment; use the returned filename in the second step (Create a User Segment).

File requirements

  • The supported encoding is UTF-8 without BOM.
  • The file must have one value on each line without any spaces, tabs, or commas.
  • The maximum file size is 100 MB.

Authorization

Send two headers with every request:

  • appId: Your AIQUA app ID.
  • Authorization: Your AIQUA API token, prefixed with the word "Token", for example, Token abc123.
post/qganalyzedata/upload-segment-file/

Request

  • Base URL
    https://aiqua.appier.com
  • URL
    https://aiqua.appier.com/qganalyzedata/upload-segment-file/
  • Auth
    API key in header appId and API key in header Authorization

Request body multipart/form-data

filestring binary required

The file to upload as the segment source. See the file requirements above.

Response

Success

filenamestring

The temporary filename created on the server for this upload. Use this in the second step to create the segment.

Changes

No recorded changes to this operation across all 1 revision of this API.