Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt

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

Using TypeScript? Check out our GraphQL SDK for a fully typed client.
Adds a new message to an existing discussion. The message is posted in the original channel (Slack thread reply or email reply) and recorded against the discussion in Plain.
Mutation
mutation sendThreadDiscussionMessage($input: SendThreadDiscussionMessageInput!) {
  sendThreadDiscussionMessage(input: $input) {
    threadDiscussionMessage {
      id
      threadDiscussionId
    }
    error {
      message
      type
      code
      fields {
        field
        message
        type
      }
    }
  }
}
Variables
{
  "input": {
    "threadDiscussionId": "td_01HXXXXXXXXXXXXXXXXXXXXXXX",
    "markdownContent": "Following up on this — any update?"
  }
}