Ticket Comments
Count Ticket Comments
Returns an approximate count of the comments added to the ticket. If the count exceeds 100,000, the count will return a cached result. This cached result will update every 24 hours.
The count[refreshed_at] property is a timestamp that indicates when the count was last updated.
Note: When the count exceeds 100,000, count[refreshed_at] may occasionally be null. This indicates that the count is being updated in the background, and count[value] is limited to 100,000 until the update is complete.
Allowed For
- Agents
get/api/v2/tickets/{ticket_id}/comments/count
Request
- Base URLhttps://example.zendesk.com
- AuthHTTP basic
- TypeScripthttps://skmtc.dev/botbrains-io/apis/support-api/docs/api/v2/tickets/:ticket_id/comments/count/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
ticket_idinteger required
The ID of the ticket
Response
Count of ticket comments
Changes
No operation changes recorded.