Comments

Creates a comment on a box

post/v2/boxes/{boxKey}/comments

Request

  • Base URL
    https://api.streak.com/api
  • URL
    https://api.streak.com/api/v2/boxes/{boxKey}/comments
  • Auth
    HTTP bearer

Path parameters

boxKeystring required

Request body

messagestring required

Comment text.

parentstring nullable

Parent comment key when creating a reply.

searchForAtMentionsboolean nullable

Whether to scan the comment text for unstructured @mentions of users display name, first name or email address.

Response

OK

keystring required

Key for this comment.

boxKeystring required

Key for the box this comment belongs to.

pipelineKeystring required

Key for the pipeline this comment belongs to.

creatorKeystring required

Key for the user who created this comment.

newsfeedEntryKeystring nullable

Key for the newsfeed entry created for this comment.

timestampinteger nullable

Timestamp when the comment was created, in epoch milliseconds.

messagestring nullable

Comment text.

parentstring nullable

Key for the parent comment, when this comment is a reply.

childrenstring[] nullable

Keys for this comment's direct replies.

lastSavedTimestampinteger nullable

Timestamp when the comment was last persisted, in epoch milliseconds.

Example response

{
  "timestamp": 1646870400000,
  "lastSavedTimestamp": 1646870400000
}

Changes