Skip to main content

List comments

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

Comment[]
required
Array of comment objects

Add comment

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

string
required
Comment text

Response

Comment
required
The created comment