Discussions

/discussions/:discussionId/comments

Changed on

Add a comment to a discussion.

The body rules match POST /v1/discussions: plain text, 1 to 500 characters as sent, {{mention:N}} placeholders, and no raw mention tokens. A mentioned person who cannot view the discussion is not notified, and the reply still succeeds.

A timeout can create a duplicate. List the discussion's comments before retrying.

updatedAt equals createdAt until the comment is edited. Callers detect an edit with updatedAt !== createdAt.

Requires the comments.write OAuth scope.

post/v1/discussions/{discussionId}/comments

Request

Request body

bodystring required

Response

Comment created

idstring uuid required
discussionIdstring uuid required
bodystring required

Plain text with mentions rendered as @Display Name. Escape this before rendering HTML.

createdAtstring date-time required
updatedAtstring date-time required

Equal to createdAt until the first edit that changes the stored text. An edit is updatedAt !== createdAt.

Changes