接口说明

使用 HTTPS 请求头 Authorization: Bearer $AppKey
此 API 需要 AppKey

调用方式

对接口传参

参数解释

请求包体:

{
    "project_id": "branch-proj-01",
    "campaign_id": "68qfBEW84TQDRmb3wCPowkddde",
    "page": 1,
    "page_size": 100
}

参数说明:

参数必须类型说明
project_idstring项目 ID
campaign_idstring营销活动 ID
pagenumber第几页(最小填 1)
page_sizenumber每页数量(不超过 1,000)

返回结果

{
    "code": 200,
    "msg": "请求成功",
    "data": {
        "list": [
            {
                "user_id": "2c8b85105145bdeeb9e0984ce7e87839",
                "direct_invitee_num": 5,
                "indirect_invitee_num": 0,
                "reward_time": 1686827576,
                "title": "20% off coupon"
            },
            {
                "user_id": "698186985ad16530aeacde81f29a2e2d",
                "direct_invitee_num": 5,
                "indirect_invitee_num": 0,
                "reward_time": 1686827576,
                "title": "20% off coupon"
            },
            {
                "user_id": "aa6e731d6c415ea7e27b2ac03c2bb4a6",
                "direct_invitee_num": 5,
                "indirect_invitee_num": 0,
                "reward_time": 1686827576,
                "title": "20% off coupon"
            },
            {
                "user_id": "73a3a665aad0d802f72f2211fcac11c1",
                "direct_invitee_num": 5,
                "indirect_invitee_num": 0,
                "reward_time": 1686827576,
                "title": "20% off coupon"
            }
        ],
        "total": 10,
        "all_total": 885
    }
}

参数说明:

参数类型说明
codeint32操作结果代码, 200 - 成功
msgstringcode 非 200 时为错误信息
dataobject中奖用户列表数据
data.listarray(object)中奖用户列表
data.list.user_idstringAPP 用户 ID
data.list.direct_invitee_numnumber直接裂变人数
data.list.indirect_invitee_numnumber间接裂变人数
data.list.reward_timenumber奖励发放时间戳
data.list.titlestring奖品说明
data.totalstring此次返回的用户数
data.all_totalnumber总奖励用户数