---
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

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/93af2e90fb6a/schema)
