---
title: "Send message"
method: POST
path: "/s2s/conversations/{conversationId}/messages"
tags: ["S2S Conversations"]
---

# Send message

`POST /s2s/conversations/{conversationId}/messages`

Send a message into the conversation, authored as the contact.

## Path parameters

- `conversationId` string, required

## Request body

- S2SSendMessageBody
  - `text` string, required
  - `attachments` S2SAttachmentInput[]
    - `url` string, required
    - `name` string
    - `contentType` string
  - `replyToMessageId` string

## Response `201`

Created

- S2SMessage
  - `id` string, required
  - `conversationId` string, required
  - `text` string
  - `author` S2SAuthor, required
    - `type` 'contact' | 'agent' | 'bot' | 'system', required
    - `id` string
    - `name` string
    - `avatar` string
  - `attachments` S2SAttachment[], required
    - `url` string, required
    - `name` string
    - `contentType` string
  - `replyToMessageId` string
  - `rating` string
  - `unread` boolean, required
  - `createdAt` string, date-time, required

## Changes

- **2026-08-18** `6bb0c3577de2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gleap/apis/gleap-server/changes/s2s/conversations/:conversationId/messages/post.md)

---

[API](https://skmtc.dev/gleap/apis/gleap-server.md) · [All operations](https://skmtc.dev/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc.dev/gleap/apis/gleap-server/revisions/0a92e15c9803?raw)
