Export data Segment

POST http://api.ants.tech/access/api/segment/export

Request

Body

  • itemTypeId: Type to define the Customer segment or Visitor segment (-1003 for Customer segment, -1007 for Visitor segment)

  • delimiter

  • columns (*): Columns to be retrieved in the file. Please refer to the API Get BO Attributes to have the list of the available columns.

{
    "itemTypeId": -1003,
    "delimiter": "comma",
    "columns": [
        "name",
        "customer_id",
        "interest_cate",
        "core_test_arr_string",
        "user_email",
        "email_verified",
        "email",
        "user_arr_str",
        "last_updated",
        "address",
        "user_key_values",
        "core_test_vcf"
    ],
    "segmentId": 5293856
}

Headers

Name
Description

Authorization*

Bearer <ACCESS_TOKEN>

Response

{
  "code": 200,
  "message": "Success",
  "data": {
    "entries": [
      {
        "exportId": 32300010
      }
    ],
    "meta": {
      "total": 1
    }
  },
  "codeMessage": null,
  "duration": "0.252 ms"
}

Last updated