provider Tickets GET /tickets/{ticketId}/comments
@utdk/zendesk /tickets/{ticketId}/comments
List ticket comments
Returns all comments on a ticket, including public replies and internal notes. Comments are sorted by creation date in ascending order.
ticketId path required
The ticket ID
integer
page query
Page number
integer
per_page query
Comments per page
integer

Try it

Authentication
Configure credentials for Zendesk Support API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listticketcomments
GET/tickets/{ticketId}/comments
Returns all comments on a ticket, including public replies and internal notes. Comments are sorted by creation date in ascending order.

Parameters

required

The ticket ID

Page number

Comments per page

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import zendesk from '@utdk/zendesk';

await zendesk.listticketcomments()