API Guide
API GuideDeveloper Guide
  • Welcome to the API Guide
  • Getting Started
    • Introduction
    • Prerequisites
  • Authentication
  • Endpoint
    • Profile API
      • Get Customer Profile
      • Get Customer ID by phone number
    • Segment API
      • Listing Segments
      • Create new Segment
        • Upload file data for Segment
      • Export data Segment
      • Download exported Segment data
        • Check Segment exporting status
    • Event API
      • Get Event(s) List
      • Get Event History
    • Item API
      • Get Business Object(s) List
      • Get BO Attributes
      • Search Item
      • Explore Item
    • Promotion API
    • App Inbox API
      • Get Message Detail
      • Update Message
      • Count Message Unread
      • Mark All As Read
      • Get Message Performance
      • Get Catalog Performance
      • Get Destination
Powered by GitBook
On this page
  • Request
  • Body
  • Headers
  • Response
  1. Endpoint
  2. Segment API
  3. Download exported Segment data

Check Segment exporting status

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

Request

Body

  • scope:

  • exportId:

{
    "scope": "check",
    "exportId": 5637051
}

Headers

Name
Description

Authorization*

Bearer <ACCESS_TOKEN>

Response

{
  "code": 200,
  "message": "Success",
  "data": {
    "entries": [
      {
        "exportStatus": 1,
        "exportedRows": null,
        "startTime": "2024-10-30T02:52:11.080Z",
        "endTime": null,
        "durations": null,
        "responseCode": null,
        "responseMessage": null
      }
    ],
    "meta": {
      "total": 1
    }
  },
  "codeMessage": null,
  "duration": "0.015 ms"
}
{
    "code": 301,
    "message": "Permission denied",
    "data": "You don't have permission to access this request!"
}
PreviousDownload exported Segment dataNextEvent API

Last updated 6 months ago