Skip to main content
POST
Send message
Replace {your-subdomain} with your workspace’s subdomain.
Learn how to find your subdomain in Workspace subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.

Accept
enum<string>
default:application/json
required

Specifies the expected response format. Must be set to application/json for proper API communication.

Available options:
application/json

Path Parameters

conversation_id
string<uuid>
required

Id of the conversation. You can get conversation_id by listing conversations using our List conversations API.

Example:

"de414e85-a1b5-4240-a465-7b32606980ce"

Body

application/json
body
string
required

Content of the message.

Example:

"Thanks, we have processed your refund."

sender_email
string<email>
required

Email of the team member or contact sending the message. A note must be sent by an active team member.

Example:

"oliver@example.com"

kind
enum<string>
default:user_message

Pass note to add an internal note that only team members can see.

Available options:
user_message,
note
created_at
string<date-time>

ISO 8601 time the message was originally sent. Passing it imports the message. It can't be in the future or earlier than the conversation's created_at.

Example:

"2025-03-01T10:30:00Z"

external_id
string

Your own id for the message, unique in your workspace among messages. When a message with this external_id already exists in this conversation, it is returned with status 200 and nothing is created. If it belongs to another conversation, the request is rejected with status 422.

Example:

"intercom-part-88232"

mentions
object[]

Team members to mention in a note. Mentions are only supported when kind is note. Each @Name in the body that matches a mentioned team member becomes a mention, and team members not named in the body are mentioned at the end of the note.

Response

OK - A message with this external_id already exists, and it is returned unchanged

message
object