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
  1. Endpoint
  2. Event API

Get Event(s) List

Retrieve a list of available events in CDP.

GET http://api.ants.tech/access/api/event/list

Headers

Name
Type
Description

Authorization*

String

Bearer <ACCESS_TOKEN>

{
    "code": 200,
    "message": "Success",
    "data": {
        "meta": {
            "total": 163
        },
        "entries": [
            {
                "rowCount": "163",
                "eventCategoryId": 54,
                "eventActionId": -102,
                "eventTrackingName": "screen_view",
                "eventNameDisplay": "screen view",
                "status": "1",
                "eventNameMultilang": {
                    "EN": "screen view",
                    "DEFAULT_LANG": "EN"
                },
                "type": "3",
                "translateLabel": "screen view"
            },
            {
                "rowCount": "163",
                "eventCategoryId": 33,
                "eventActionId": 123,
                "eventTrackingName": "event_email_subscription",
                "eventNameDisplay": "event email-subscription",
                "status": "1",
                "eventNameMultilang": {
                    "EN": "event email-subscription",
                    "DEFAULT_LANG": "EN"
                },
                "type": "3",
                "translateLabel": "event email-subscription"
            }
            // ... More events
        ]
    },
    "duration": "0.36 ms"
}
{
    "code": 301,
    "message": "Permission denied",
    "data": "You don't have permission to access this request!"
}

PreviousEvent APINextGet Event History

Last updated 1 year ago