跳转到主要内容
POST
发送消息
在已有会话中发送文本消息。写操作:LinkedIn 对账号有每日消息限额(约 100–150 条),且收件人必须已与你存在会话;尚未建立会话时改用「发起会话」。 当前价格请查看费用说明;支持报价的接口可按实际请求获取报价。

请求规范

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

费用与请求规则

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

授权

Authorization
string
header
必填

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

路径参数

chat_id
string
必填

The id of the chat where to send the message.

请求体

account_id
string

An account_id can be specified to prevent the user from sending messages in chats not belonging to the account.

quote_id
string

The id of a message to quote. The id of the message to quote / reply to.

text
string

WhatsApp groups: insert {{0}} to mention the corresponding entry in mentions.

响应

Created. Message sent successfully.

message_id
必填

The Unipile ID of the newly sent message.

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