younifyd
Menu

Count Ticket Comments

Count Ticket Comments

GET/api/v2/tickets/{ticket_id}/comments/count

Use it in a workflow

  1. Add a step and choose the Zendesk connector.
  2. Pick the Count Ticket Comments action (under Ticket Comments).
  3. Fill in the fields below, then reference the result from later steps as {{countTicketComments.response.data}}.

Request

Path parameters

ticket_idinteger (int64)required

The ID of the ticket

Response

Returns 200 with an object. Read it in later steps with {{countTicketComments.response.data.<field>}}.

countobject
refreshed_atstring (date-time)
valueinteger
json
{
  "count": {
    "refreshed_at": "2025-01-01T00:00:00Z",
    "value": 0
  }
}

Need more? See the Zendesk guide for connection setup and behaviour shared by every action.