Ticket object does not contain the comments field in the response | Community
Skip to main content

Ticket object does not contain the comments field in the response

  • July 10, 2024
  • 0 replies
  • 0 views

Navin11

Hi Team .

 

when i made a call using the ticket api endpoint (api/v2/tickets.json) the response body did not contain the comments present in the tickets . (https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#json-format) here i could see under the json format there is a field called comments but the response which i get from zendesk server does not contain this field. I am aware that there is a separate endpoint to fetch comments which makes use of the ticket_id but i wanted to have the comments present in the ticket object itself as mentioned in the documentation . Is there any way to achieve this ?. Thanks.