渠道管理/互动
发表评论
接口说明:在指定作品下发表评论
POST
发表评论
授权
AiToEarn Open Platform API Key。
查询参数
动作执行账号 ID
Minimum string length:
1请求体
application/json
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
接口说明:在指定作品下发表评论
curl --request POST \
--url https://aitoearn.cn/api/v2/channels/engagement/comments \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"platformWorkId": "<string>",
"content": "<string>"
}
'{
"code": 0,
"message": "请求成功",
"data": {
"platform": "douyin",
"actionType": "comment",
"targetType": "work",
"targetId": "string",
"success": true,
"platformActionId": "string",
"createdAt": "2026-07-02T12:00:00.000Z"
}
}AiToEarn Open Platform API Key。
动作执行账号 ID
1请求已被服务处理。业务是否成功以响应体 code === 0 为准。
业务状态码。0 表示成功,非 0 表示业务错误。
响应消息。
Hide child attributes
平台
douyin, xhs, wxSph, KWAI, youtube, wxGzh, bilibili, twitter, tiktok, facebook, instagram, threads, pinterest, linkedin, google_business 互动动作类型
comment, reply, delete_comment, like, unlike, repost, undo_repost, quote, bookmark, remove_bookmark, hide_reply, unhide_reply, follow, unfollow 互动目标类型
work, comment, account 互动目标 ID
操作是否成功
平台返回的动作 ID
动作创建时间
请求 ID。
错误响应时间戳,Unix 毫秒。
curl --request POST \
--url https://aitoearn.cn/api/v2/channels/engagement/comments \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"platformWorkId": "<string>",
"content": "<string>"
}
'{
"code": 0,
"message": "请求成功",
"data": {
"platform": "douyin",
"actionType": "comment",
"targetType": "work",
"targetId": "string",
"success": true,
"platformActionId": "string",
"createdAt": "2026-07-02T12:00:00.000Z"
}
}