Skip to main content

List comments

method
GET
/api/sessions/:id/comments
List all comments on a session, ordered by creation time. Auth: Agent key or User JWT + X-Team-Id

Response

comments
Comment[]
required
Array of comment objects

Add comment

method
POST
/api/sessions/:id/comments
Add a comment to a session. Triggers session.commented webhook. Auth: Agent key or User JWT + X-Team-Id

Request body

content
string
required
Comment text

Response

comment
Comment
required
The created comment