抖音开放平台Logo
开发者文档
“/”唤起搜索
控制台
  • OpenAPI 列表
  • 通用参数
  • 移动/网站应用 OpenAPI SDK 总览
  • 状态码排查工具
  • 个人资料
  • 关系能力
  • 内容能力
  • 抖音
  • 投稿任务
  • 场景跳转
  • 经营任务
  • 经营任务创建活动
  • 经营任务修改活动
  • 经营任务查询活动信息
  • 经营任务查询用户是否完成
  • 搜索能力
  • 私信群聊
  • 生活服务开放能力
  • 工具能力
  • 服务市场开放能力
  • 小程序推广计划
  • 经营任务查询活动信息

    收藏
    我的收藏

    接口说明

    查询经营任务活动信息

    基本信息

    名称描述
    HTTP URL
    https://open.douyin.com/dy_open_api/apps/v3/activity/query_info/
    HTTP Method
    POST
    Scope
    open.business.task_manage
    权限要求
    任务信息接口

    请求参数

    请求头
    access-token必填String
    示例:clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ
    content-type必填String
    固定值"application/json"
    Body
    activity_id必填Int64
    示例:@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==
    创建任务之后获取的任务ID
    task_id_listArray<Int64>
    示例:[@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==]
    任务ID列表
    请求示例
    curl --location --request POST '/dy_open_api/apps/v3/activity/query_info/' \ --header 'content-type: application/json' \ --header 'access-token: 0801121846735352506a356a6' \ --data '{"task_id_list":[4923363254728906872],"activity_id":2959684109138493149}'

    响应参数

    Body展开全部子属性
    ActivityInfo必填Struct
    展开子属性
    business_task_info_list必填List
    任务信息列表
    展开子属性
    响应示例
    { "business_task_info_list": [ { "start_time": 2229413896704947200, "end_time": 4637264286120042000, "task_id": 9064502280935179000, "task_name": "优惠券任务", "task_event_info": { "short_video_comment_event_info": { "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==", "video_url": "https://v.douyin.com/i8rpmSVP/", "game_id": "9Y2YFSIdBz", "anchor_id": "fpEwVAyeQm" }, "short_video_finish_playing_event_info": { "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==", "video_url": "https://v.douyin.com/i8rpmSVP/", "game_id": "9W3kdlvBKg", "anchor_id": "l7w00hYhvx", "finish_play_video_count": 1328580882256413200 }, "account_follow_event_info": { "aweme_id": "Gku5AVJcVI" }, "short_video_collection_event_info": { "video_url": "https://v.douyin.com/i8rpmSVP/", "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==" }, "live_digg_event_info": { "game_id": "6809ytpXHt", "digg_count": 1742492757366728200, "aweme_id": "GiI6incdfn" }, "short_video_digg_event_info": { "video_url": "https://v.douyin.com/i8rpmSVP/", "game_id": "ZKIlApO7b3", "anchor_id": "XCcko7uubW", "digg_count": 6434818180515738000, "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==" }, "posting_vide_event_info": { "comment_stage": [ 7727858145828884000 ], "play_video_stage": [ 8291498640075254000 ], "num_stage": [ 997946018547987100 ], "digg_stage": [ 7656944667012427000 ] }, "live_comment_event_info": { "aweme_id": "JVRglfrkbm", "game_id": "fjI96ov75V" }, "live_share_event_info": { "aweme_id": "ChO9mm0mPU", "game_id": "VB7sphXxGr" }, "short_video_share_event_info": { "game_id": "3pSWe0swxN", "anchor_id": "R0XzXHVVyD", "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==", "video_url": "https://v.douyin.com/i8rpmSVP/" }, "common_event_info": { "complete_conditions": [ { "condition_type": 1, "task_complete_condition_stage": [ 8193563587114936000 ] } ], "task_dependence": { "dependence_list": [ { "dependence_value": "hq78LlYdBL", "dependence_type_enum": 1 } ] }, "task_type_enum": 1 }, "live_watch_event_info": { "watch_duration": 1576322700413193200, "aweme_id": "InC5N5JKxO", "game_id": "iC2DTlxYwx" } } } ], "ActivityInfo": { "start_time": 8367407221389432000, "end_time": 1915308723489769000, "activity_name": "活动名称" } }
    切换单列布局

    错误码

    HTTP 状态码错误码错误码描述排查建议
    20028001005
    系统内部错误,请重试
    请求重试,若依然无解请向平台提交反馈
    20028001003
    access_token无效
    重新请求生成access_token
    20028001008
    access_token过期,请刷新或重新授权
    重新请求生成access_token
    20028001016
    当前应用已被封禁或下线
    clientKey被封禁或者下线
    20028001006
    网络调用错误,请重试
    重试即可
    20028001014
    应用未授权任何能力
    确认应用是否授权能力
    20028001018
    应用未获得该能力
    开通相关能力
    20028003017
    quota已用完
    联系平台处理
    20028001019
    应用该能力已被封禁
    该能力被封禁,联系平台处理
    20028001007
    参数不合法
    根据错误信息检查请求参数是否填写正常