---
title: "Send message"
method: POST
path: "/threads/{threadId}/messages"
tags: ["threads"]
---

# Send message

`POST /threads/{threadId}/messages`

## Request

- Base URL: `https://productlane.com/api/v1`
- URL: `https://productlane.com/api/v1/threads/{threadId}/messages`
- Auth: HTTP bearer

Send an email or Slack message to a thread. Authentication is required. For Slack threads, channelId can be provided or will use the thread's slackChannelId if available.

## Path parameters

- `threadId` string, required

## Request body

- object
  - `content` string, required
  - `cc` object[]
    - `name` string, required
    - `email` string, required
    - `mailboxHash` string
  - `bcc` object[]
    - `name` string, required
    - `email` string, required
    - `mailboxHash` string
  - `attachments` object[]
    - `Content` string
    - `ContentLength` union
      - string
      - number
    - `Name` string, required
    - `ContentType` string, required
    - `ContentID` string
  - `channelId` string

## Response `200`

Successful response

- object
  - `messageId` string, required
  - `threadId` string, required

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/productlane/apis/productlane-api.md) · [All operations](https://skmtc.dev/productlane/apis/productlane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/productlane/apis/productlane-api/revisions/9325a8425b36?raw)
