Skip to main content
POST
回复全部
回复单封邮件以及邮件上的所有其他收件人,返回 message_idthread_id。🔴 **这会向会话中每一个人发出真实邮件,且发出去收不回。**只需回复发件人时请用 post_agentmail_inbox_message_reply——那是更安全的默认值,两者只差在收件人范围。所有 AIsa 调用方共用同一个 AgentMail 账号,因此这里会触及其他调用方创建的收件箱。

示例

授权

Authorization
string
header
必填

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

请求头

Authorization
string
必填

Bearer 身份验证

路径参数

inbox_id
string
必填

收件箱的 ID。

message_id
string
必填

消息 ID。

请求体

application/json
labels
string[]

消息标签。

reply_to

回复地址(一个或多个)。

text
string

消息的纯文本正文。

html
string

消息的 HTML 正文。

attachments
SendAttachment · object[]

消息中要包含的附件。

headers
SendMessageHeaders · object

消息中要包含的标头。

响应

状态码为 200 的响应

message_id
string
必填

消息 ID。

thread_id
string
必填

会话 ID。