Skip to main content
GET
/
{team_id}
/
comments
Retrieve all comments for a team
curl --request GET \
  --url https://api.superthread.com/v1/{team_id}/comments \
  --header 'Authorization: Bearer <token>'
{
  "cursor": "dmsjqh9d8w1hdjosjaasda",
  "count": 14,
  "comments": [
    {
      "id": "42",
      "type": "comment",
      "content": "Good point!",
      "schema": 1,
      "page_id": "431",
      "card_id": "433",
      "user_id": "u-dsu0j19",
      "user": {
        "user_id": "uDsu0j19",
        "type": "user",
        "source": {
          "type": "oauth",
          "client_id": "oczapier",
          "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "email_addr": "somebody@example.com",
          "email_verified": false
        }
      },
      "user_updated": {
        "user_id": "uDsu0j19",
        "type": "user",
        "source": {
          "type": "oauth",
          "client_id": "oczapier",
          "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "email_addr": "somebody@example.com",
          "email_verified": false
        }
      },
      "team_id": "u-dsu0j19",
      "time_created": 1608742037016,
      "time_updated": 1608742037016,
      "reactions": [
        {
          "id": "sweat_smile",
          "unicode": "<string>",
          "members": [
            {
              "user_id": "<string>",
              "time_created": 1608742037016,
              "variation": "<string>"
            }
          ]
        }
      ],
      "context": "attach context to a comment",
      "status": "resolved",
      "participants": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string
required

Team ID is an alphanumerical string that identifies a Team. This is externally referred to as a "Workspace".

Query Parameters

page_id
string

Page ID is a numerical string that identifies a Page.

card_id
string

Card ID is a numerical string that identifies a card.

filter
enum<string>

Optional filter on comments. Defaults to not filtering if not specified

Available options:
resolved,
open,
orphaned

Response

array of comments

cursor
string
required
Example:

"dmsjqh9d8w1hdjosjaasda"

count
integer
required
Example:

14

comments
object[]