v1

latestOpenAPI 3.0.0http://www.apache.org/licenses/LICENSE-2.0.html2026-07-14543167.2 KB
channels

Returns an array of the 20 most recent threads in a channel

get/channels/{channelID}/threads

Path parameters

channelIDstring uuid required

Response

Successful response

idstring uuid
channelIDstring uuid

The id of the channel where this thread exists

userIDstring uuid

The id of the user that created this thread

contentstring

The content of the thread

filesstring[]

A list of URLs pointing to any file attachments on the thread

createdAtstring date-time
urlstring

A URL pointing to this thread

Example response

[
  {
    "content": "<p>This is the thread's content</p>",
    "url": "https://app.heartbeat.chat/mycommunity/t/general/5dbcf5c9-5e7e-4285-9dab-6d3ce7f4dd1e",
    "comments": [
      {
        "content": "<p>This is the comments's content</p>",
        "children": [
          {
            "content": "<p>This is the comments's content</p>"
          }
        ]
      }
    ]
  }
]