Send Message
Sends a Markdown message as the authenticated user or app agent. Channel access, posting restrictions, moderation, and delivery follow the existing chat services. Use Idempotency-Key to safely retry a send. The response and realtime message use the same message ID. Custom author presentation and embeds are read-only. With email_address, the message’s text is also emailed to the customer of a support chat with that address’s account, if they’re a member with an email address. The email answers the email behind replying_to_message_id, or else continues the chat’s latest email. The message is posted even when it isn’t emailed. Files, GIFs and polls stay in the chat and are left out of the email, and a message with no text isn’t emailed. Sending needs member:email:read, and the address’s owner or, for a shared address, email:read and email:send.
Authorizations
An App API key, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Body
Response
message sent
The message outside chat that this message was sent or received as. object says which kind it is, such as email_message. For an email, the first file in attachments named email.html holds the email's HTML body. The email's own attachments are also in attachments. null for a message that exists only in chat, or a deleted message.

