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. Profile API

Get Customer Profile

Retrieve the details of a specific customer profile using their unique identifier.

GET http://api.ants.tech/access/api/profile

Query Parameters

Name
Type
Description

property_names*

String

The customer attribute that you are retrieving, separated by a comma each. For example, customer_id,name,email

customer_id*

String

The unique identifier of the customer whose profile you want to retrieve. For example, 104

Headers

Name
Type
Description

Authorization*

String

Bearer <ACCESS_TOKEN>

{
    "nodeName": "10.200.0.10:8200",
    "msg": "OK",
    "code": 200,
    "portal_timezone": "Asia/Bangkok",
    "description": "get properties is success",
    "is_cached": true,
    "customer_id": "104",
    "time_lost": "51 ms",
    "version": "20210615",
    "properties": {
        "last_updated": "2023-08-17 14:53:09",
        "date_created": "2020-07-15 04:30:47",
        "name": "TC Serm",
        "customer_id": "104"
    },
    "status": true
}
{
    "code": 301,
    "message": "Permission denied",
    "data": "You don't have permission to access this request!"
}
PreviousProfile APINextGet Customer ID by phone number

Last updated 1 year ago