1. Tags 标签
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. Tags 标签

List or get static tags / 查询静态标签

GET
/api/v1/tags

Purpose#

List static customer tags with cursor pagination or read one static tag.

Execution logic#

If tag_id is omitted or equals all, the endpoint lists only static customer tags in descending ID order, at most 50 per page. Use the returned encoded last_id for the next page; -1 means no next cursor.
For a specific tag_id, the tag must exist, be published, and be a static tag. The response includes its encoded ID, label, and group reference.
Dynamic/non-static tags are excluded even if their IDs are otherwise valid.

Errors and authorization#

Invalid cursors/IDs, unpublished or missing tags, and non-static tag types return a client error. Bearer authentication and this endpoint's REST permission are required.

中文说明#

用途#

游标分页列出静态客户标签,或读取一个静态标签。

执行逻辑#

未提供 tag_id 或其值为 all 时,只按 ID 倒序列出静态客户标签,每页最多 50 条;下一页使用响应中的编码 last_id,-1 表示没有下一游标。
指定 tag_id 时,标签必须存在、已发布且属于静态标签;响应包含编码 ID、名称及分组引用。
动态/非静态标签不会返回,即使其 ID 本身有效。

错误与权限#

游标/ID 无效、标签未发布或不存在、标签类型不是静态均返回客户端错误。接口需要 Bearer 认证及对应 REST 权限。

请求参数

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/tags?tag_id=undefined&last_id=undefined'

返回响应

🟢200成功
application/json
Tag page or detail / 标签列表或详情
Bodyapplication/json

示例
{
    "code": 200,
    "data": {
        "last_id": "string",
        "items": [
            {
                "tag_id": "string",
                "label": "string",
                "group_label": "string",
                "group_id": "string",
                "tag_type": "string",
                "values": [
                    "string"
                ],
                "created": 0,
                "changed": 0,
                "status": true,
                "external_id": "string"
            }
        ]
    }
}
🟠400请求有误
🟠401没有权限
🟠403禁止访问
🔴500服务器错误
🟠429请求过多
修改于 2026-09-22 08:54:40
上一页
Create or reuse tag group / 创建或复用标签组
下一页
Create or reuse static tag / 创建或复用静态标签
Built with