1. Customers 客户
EventLightning CDP
  • Content tags 内容标签
    • List or get content tags / 查询内容标签
      GET
    • Create or reuse content tag / 创建或复用内容标签
      POST
    • Update content tag / 更新内容标签
      PUT
    • Delete content tag / 删除内容标签
      DELETE
    • List or get content tag groups / 查询内容标签组
      GET
    • Create or reuse content tag group / 创建或复用内容标签组
      POST
  • Authentication 认证
    • Get access token / 获取访问令牌
      POST
  • Customers 客户
    • Collect customer and link visitor / 采集客户信息并关联访客
      POST
    • Get customer / 查询客户
      GET
    • Create or update customer / 创建或更新客户
      POST
  • Tags 标签
    • List or get tag groups / 查询标签组
      GET
    • Create or reuse tag group / 创建或复用标签组
      POST
    • List or get static tags / 查询静态标签
      GET
    • Create or reuse static tag / 创建或复用静态标签
      POST
    • Update static tag / 更新静态标签
      PUT
    • Delete static tag / 删除静态标签
      DELETE
  • Customer Tags 客户标签
    • Add customer tags / 添加客户标签
      POST
    • Remove customer tags / 移除客户标签
      POST
    • Query customer tags / 查询客户标签
      POST
  • Events 客户事件
    • 查询客户事件
      GET
    • Create customer event / 创建客户事件
      POST
  • Related Entities 关联实体
    • 查询关联实体
      GET
    • Create or update related entity / 创建或更新关联实体
      POST
  • Customer Segments 客户分群
    • Add customer segments / 添加客户群组
    • Remove customer segments / 移除客户群组
    • Query customer segments / 查询客户群组
  • Segments 分群
    • List or get segment groups / 查询客户分群组
    • Create or reuse segment group / 创建或复用客户分群组
    • List or get static segments / 查询静态分群
    • Create or reuse static segment / 创建或复用静态分群
    • Update static segment / 更新静态分群
    • Delete static segment / 删除静态分群
  • 数据模型
    • SegmentWrite
    • SegmentDetail
    • SegmentDetailResponse
    • SegmentListResponse
    • ContentTagDetail
    • ContentTagDetailResponse
    • ContentTagListResponse
    • OAuthToken
    • OAuthError
    • SuccessEnvelope
    • AudienceGroupDetail
    • TagDetail
    • TagMembershipDetail
    • SegmentMembershipDetail
    • CustomerEventResponse
    • CodeResponse
    • CustomerDetailResponse
    • Identification
    • CustomerSaveResponse
    • DynamicBody
    • TagWrite
    • CustomerSelectors
    • AudienceGroupDetailResponse
    • CustomerTagQuery
    • AudienceGroupListResponse
    • CustomerTagChange
    • TagDetailResponse
    • CustomerSegmentQuery
    • CustomerSegmentChange
    • TagListResponse
    • CustomerTagMembershipResponse
    • CustomerTagChangeResponse
    • CustomerSegmentMembershipResponse
    • CustomerSegmentChangeResponse
    • RelatedEntityResponse
    • ErrorEnvelope
  1. Customers 客户

Get customer / 查询客户

GET
/api/v1/customer/{search_type}

Purpose#

Read one customer by its encoded customer ID.

Execution logic#

1.
The path variable search_type currently supports only customer_id.
2.
The customer_id query value is decoded and loaded directly. This read returns the requested record even when that record is inactive or points to a merged customer; it does not automatically follow the merge chain.
3.
The response contains the encoded customer_id, current identifications, and the customer body.

Errors and authorization#

An unsupported search type, invalid ID, or missing customer returns a client error. A bearer token is required: unauthenticated/invalid-token calls return 401, and an authenticated account without this REST permission returns 403.

中文说明#

用途#

通过编码后的客户 ID 读取一个客户。

执行逻辑#

1.
路径参数 search_type 当前只支持 customer_id。
2.
查询参数 customer_id 会先解码再直接加载记录。即使该记录已停用或已经合并到其他客户,本接口仍返回被指定的原记录,不会自动沿合并链跳到最终客户。
3.
响应包含编码后的 customer_id、当前身份标识 identifications 和客户属性 body。

错误与权限#

不支持的查询类型、无效 ID 或客户不存在均返回客户端错误。接口需要 Bearer token:未认证或令牌无效返回 401;已认证但账号没有本 REST 接口权限返回 403。

请求参数

Path 参数

Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/api/v1/customer/?customer_id=undefined'

返回响应

🟢200成功
application/json
Customer found / 查询成功
Bodyapplication/json

示例
{
    "code": 200,
    "data": {
        "customer_id": "string",
        "identifications": [
            {
                "key": "el_email",
                "value": "user@example.com",
                "name": "string"
            }
        ],
        "body": {
            "property1": "string",
            "property2": "string"
        }
    }
}
🟠400请求有误
🟠401没有权限
🟠403禁止访问
🔴500服务器错误
🟠429请求过多
修改于 2026-09-22 08:53:29
上一页
Collect customer and link visitor / 采集客户信息并关联访客
下一页
Create or update customer / 创建或更新客户
Built with