Skip to main content
POST
/
insights
/
{threadId}
/
messages
Send message
curl --request POST \
  --url https://productlane.com/api/v1/insights/{threadId}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "cc": [
    {
      "name": "<string>",
      "email": "<string>",
      "mailboxHash": "<string>"
    }
  ],
  "bcc": [
    {
      "name": "<string>",
      "email": "<string>",
      "mailboxHash": "<string>"
    }
  ],
  "attachments": [
    {
      "Name": "<string>",
      "ContentType": "<string>",
      "Content": "<string>",
      "ContentLength": "<string>",
      "ContentID": "<string>"
    }
  ],
  "channelId": "<string>"
}
'
{
  "messageId": "<string>",
  "threadId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

threadId
string
required

Body

application/json
content
string
required
Minimum string length: 1
cc
object[]
bcc
object[]
attachments
object[]
channelId
string

Response

Successful response

messageId
string
required
threadId
string
required