Get Comments for a Ticket

Fetches all comments and replies associated with a specific ticket.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Supported Apps

Intercom

App ID: intercom

Zendesk Ticketing

App ID: zendesk-ticketing

Freshdesk

App ID: freshdesk

Notes:: Cannot differentiate between User and Contact in the author.type

Zohodesk

App ID: zoho-desk

Freshservice

App ID: freshservice

Notes: Cannot differentiate between User and Contact in the author.type

Github

App ID: github

Notes: Need to pass accountId using Get Accounts API and collectionId using Get Collections API.

Jira

App ID: jira

Asana

App ID: asana

ServiceNow (servicenow)

Supported Request Fields:

  • ticketId - Required
  • cursor

Supported Response Fields:

  • pagination.next
  • pagination.previous
  • comments.id
  • comments.createdAt
  • comments.body
  • comments.htmlBody
  • comments.isPublic
  • comments.author.type
  • comments.author.id
  • comments.attachments

Notes::

  • As per ServiceNow API, 'comments.author.id' gives the 'name' of user.
Linear (linear)

Supported Request Fields:

  • ticketId - Required
  • cursor

Supported Response Fields:

  • pagination.next
  • pagination.previous
  • comments.id
  • comments.createdAt
  • comments.body
  • comments.author.id
  • comments.author.type
Query Params
string
required

The Ticket ID for which you want the comments

string

The pagination cursor

string

Only needed for Github!! Pass the correct account id. You can look at https://developers.getknit.dev/reference/get-accounts-ticketing to get the correct account id.

string

Only needed for Github!! Pass the correct collection id. You can look at https://developers.getknit.dev/reference/get-collections to get the correct collection id.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json