Post a message to a conversation
Post a private (internal) note to an existing conversation through the same pipeline that backs the portal. The note is authored by senderId (a platform user) or the system bot when omitted. Only private notes are supported: isPrivate must be true. Set parentMessageId to post the note as a reply in the thread of an existing internal note; replies are one level deep and a resolved thread takes no new replies. Mention tokens in body notify the mentioned users and groups like portal mentions; mentioning users or groups requires the partner’s user or group mention access. Requires the conversation:write scope.
Path Parameters
Body
The note text, as plain text: HTML is not interpreted and shows up literally, and line breaks are kept. Mention users and assignee groups with tokens: <@{userId}> mentions a user (any UserId, an active user of your partner) and <@group:{conversationAssigneeGroupId}> mentions an assignee group enabled for your partner. Each token is replaced with the same mention markup the portal composer stores, and mentioned users and groups are notified like portal mentions. A token that is malformed, unknown, or refers to a deactivated user is rejected with 400 naming the token. Plain @Name text and email addresses are left alone. The note is stored as a single paragraph, like a note composed in the portal.
1"Shipment delayed. <@ovuid-2b6d4d8e-9f1a-4b2c-8d4e-5f6011223344> and <@group:0b6f1c2e-6d0a-4f0e-9a41-5d7e3c8b9a10> please follow up."
Id of an internal note in this conversation to reply to. When set, the message is posted as a reply in that note’s thread instead of as a new note. The parent must be a top-level internal note of this conversation (not itself a reply) whose thread is not resolved; otherwise the request is rejected with 422.
"0b6f1c2e-6d0a-4f0e-9a41-5d7e3c8b9a10"