Comments

Create comment

Creates a new comment on a card. Requires board editor permissions or comment permissions.

post/cards/{cardId}/comments

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/cards/{cardId}/comments
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key

Path parameters

cardIdstring required
Example:1357158568008091264

ID of the card to create the comment on

Request body

textstring required

Content of the comment

Example request

{
  "text": "This task is almost complete..."
}

Response

Comment created successfully

Example response

{
  "item": {
    "id": "1357158568008091264",
    "cardId": "1357158568008091265",
    "userId": "1357158568008091266",
    "text": "This task is almost complete...",
    "createdAt": "2024-01-01T00:00:00.000Z",
    "updatedAt": "2024-01-01T00:00:00.000Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.