跳转到主要内容
POST
Post Comment
给已有帖子发表评论。写操作:评论公开可见。text 上限 1250 字符。 当前价格请查看费用说明;支持报价的接口可按实际请求获取报价。

请求规范

  • 方法与路径: POST /apis/v1/unipile/linkedin/posts/{post_id}/comments/send
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/unipile/linkedin/posts/{post_id}/comments/send
  • post_id: path; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.02 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

post_id
string
必填

The ID of the associated post.
Linkedin: use the social_id from the post object (GET post or list posts). The post id visible in url will not work in all case, you can refer here for more details : https://developer.unipile.com/docs/posts-and-comments
Instagram Post short code dont work on this route, please use the provider_id instead.

请求体

account_id
string
必填

The id of the account to perform the request from.

Minimum string length: 1
text
string
必填

Linkedin: You can add a mention by inserting the index of the corresponding entry from the mentions array between two double braces. Example: Hey {{0}}, check this out !
Instagram: You can mention users by inserting their username in the text, like @username.

Required string length: 1 - 1250
as_organization
string

Linkedin only Provide the ID of an organization over which you have control to perform the action on its behalf.

Minimum string length: 1
comment_id
string

The id of the comment to reply to. Linkedin: use the comment id returned by the comments list.

Minimum string length: 1

Linkedin only An external link that should be displayed within a preview card. The URL must also be included in the post textual content. Otherwise, it will be automatically added at the end.

Pattern: ^https?://

响应

Created. Comment sent successfully.

object
enum<string>
必填
可用选项:
CommentSent
comment_id
string