Threads

Create thread comment

Changed on

Adds a comment to an existing thread.

post/v2/api/threads/{id}/comments

Request

  • Base URL
    https://api.withallo.com
  • URL
    https://api.withallo.com/v2/api/threads/{id}/comments
  • Auth
    API key in header Authorization

Path parameters

idstring required
Example:cth-abc123

Thread ID (cth-*)

Request body

contentstring required

Comment text (max 4000 characters). Mention teammates inline with @[Name](usr-...).

Example request

{
  "content": "On it."
}

Response

Comment created

Example response

{
  "data": {
    "id": "thc-abc123",
    "user": {
      "id": "usr-def456",
      "name": "John Smith"
    },
    "mentions": [
      {
        "user_id": "usr-abc123",
        "name": "Jane Doe"
      }
    ]
  }
}

Changes