Skip to main content
POST
/
threads
/
{thread_id}
/
messages
Send a message
curl --request POST \
  --url https://productlane.com/api/v2/threads/{thread_id}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "cc": [
    {
      "email": "jsmith@example.com",
      "name": "",
      "mailboxHash": ""
    }
  ],
  "bcc": [
    {
      "email": "jsmith@example.com",
      "name": "",
      "mailboxHash": ""
    }
  ],
  "attachments": [
    {
      "Name": "<string>",
      "ContentType": "<string>",
      "Content": "<string>",
      "ContentLength": "<string>",
      "ContentID": "<string>"
    }
  ],
  "channel_id": "<string>"
}
'
{
  "id": "<string>",
  "thread_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://productlane.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

thread_id
string
required

Body

application/json
content
string
required

Message body (HTML).

Minimum string length: 1
cc
object[]

Applied only to email-channel threads.

bcc
object[]

Applied only to email-channel threads.

attachments
object[]
channel_id
string

Slack channel id. Required for Slack threads unless one is stored on the thread.

Response

Successful response

id
string
required
thread_id
string
required
channel
enum<string>
required
Available options:
email,
slack,
live_chat,
teams