Zoho Ticket Count API

The TicketCount API from Zoho — 2 operation(s) for ticketcount.

Operations 2

GET /api/v1/ticketsCount Get tickets count #
GET /api/v1/ticketsCountByFieldValues Get ticket count by field #

Documentation

Specifications

Code Examples

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zoho-ticketcount-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zoho-ticketcount-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Helpcenter Ticket Count API
  version: 1.0.0
tags:
- name: TicketCount
paths:
  /api/v1/ticketsCount:
    get:
      tags:
      - TicketCount
      summary: Get tickets count
      description: This API returns the ticket count of your help desk.
      operationId: getTicketsCount
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: '#/components/parameters/departmentId'
      - $ref: '#/components/parameters/createdTimeRange'
      - $ref: '#/components/parameters/modifiedTimeRange'
      - $ref: '#/components/parameters/category'
      - $ref: '#/components/parameters/assigneeId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '200':
          $ref: '#/components/responses/ticketsCountResponse'
      security:
      - iam-oauth2-schema:
        - Desk.tickets.READ
        - Desk.search.READ
      x-audience:
      - external-public
  /api/v1/ticketsCountByFieldValues:
    get:
      tags:
      - TicketCount
      summary: Get ticket count by field
      description: This API returns the ticket count of your help desk, filtered by a specific field.
      operationId: ticketsCountByFieldValues
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: '#/components/parameters/departmentId'
      - $ref: '#/components/parameters/createdTimeRange'
      - $ref: '#/components/parameters/modifiedTimeRange'
      - $ref: '#/components/parameters/category'
      - $ref: '#/components/parameters/assigneeId'
      - $ref: ./Common.json#/components/parameters/orgId
      - name: accountId
        in: query
        required: false
        description: ID of the account to which the ticket is mapped
        schema:
          type:
          - string
          - 'null'
          - integer
          description: ID of the account to which the ticket is mapped
          format: int64
          pattern: ([0-9]+)
      - name: field
        in: query
        required: true
        description: Field by which the ticket count must be filtered. Values allowed are. !@status,@! !@priority,@! !@channel,@! !@statusType,@! !@spam,@! !@escalated,@! !@overDue@!
        schema:
          type:
          - string
          - 'null'
          enum:
          - statusType
          - status
          - priority
          - channel
          - spam
          - overDue
          - escalated
          maxLength: 100
          minLength: 0
          description: Field by which the ticket count must be filtered. Values allowed are. !@status,@! !@priority,@! !@channel,@! !@statusType,@! !@spam,@! !@escalated,@! !@overDue@!
      responses:
        '200':
          $ref: '#/components/responses/ticketsCountByFieldValuesResponse'
        '204':
          $ref: ./Common.json#/components/responses/emptyResponse
        '422':
          $ref: ./Common.json#/components/responses/multipleUnprocessEntityResponse
      security:
      - iam-oauth2-schema:
        - Desk.tickets.READ
        - Desk.search.READ
      x-audience:
      - external-public
components:
  schemas:
    channelResponse:
      type:
      - 'null'
      - object
      additionalProperties: false
      properties:
        channel:
          type:
          - 'null'
          - array
          items:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              count:
                type:
                - string
                - 'null'
                - integer
                format: int64
                pattern: ([0-9]+)
              value:
                type:
                - string
                - 'null'
                maxLength: 50
                minLength: 0
            required:
            - count
            - value
          uniqueItems: false
      required:
      - channel
    statusTypeResponse:
      type:
      - object
      additionalProperties: false
      properties:
        statusType:
          type:
          - 'null'
          - array
          items:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              count:
                type:
                - string
                - integer
                format: int64
                pattern: ([0-9]+)
              value:
                type:
                - string
                - 'null'
                enum:
                - OPEN
                - ONHOLD
                - CLOSED
                maxLength: 50
                minLength: 0
            required:
            - count
            - value
          uniqueItems: false
      required:
      - statusType
    spamResponse:
      type:
      - object
      additionalProperties: false
      properties:
        spam:
          type:
          - string
          - integer
          format: int64
          pattern: ([0-9]+)
      required:
      - spam
    countResponse:
      type:
      - object
      additionalProperties: false
      properties:
        count:
          type:
          - string
          - integer
          format: int64
          pattern: ([0-9]+)
      required:
      - count
    priorityResponse:
      type:
      - 'null'
      - object
      additionalProperties: false
      properties:
        priority:
          type:
          - 'null'
          - array
          items:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              count:
                type:
                - string
                - 'null'
                - integer
                format: int64
                pattern: ([0-9]+)
              value:
                type:
                - string
                - 'null'
                maxLength: 50
                minLength: 0
            required:
            - count
            - value
          uniqueItems: false
      required:
      - priority
    overDueResponse:
      type:
      - object
      additionalProperties: false
      properties:
        overDue:
          type:
          - string
          - 'null'
          - integer
          format: int64
          pattern: ([0-9]+)
      required:
      - overDue
    escalatedResponse:
      type:
      - object
      additionalProperties: false
      properties:
        escalated:
          type:
          - string
          - integer
          format: int64
          pattern: ([0-9]+)
      required:
      - escalated
    statusResponse:
      type:
      - 'null'
      - object
      additionalProperties: false
      properties:
        status:
          type:
          - 'null'
          - array
          items:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              count:
                type:
                - string
                - 'null'
                - integer
                format: int64
                pattern: ([0-9]+)
              value:
                type:
                - string
                - 'null'
                maxLength: 50
                minLength: 0
            required:
            - count
            - value
          uniqueItems: false
      required:
      - status
  parameters:
    category:
      name: category
      in: query
      description: Category of the ticket
      required: false
      style: form
      explode: true
      schema:
        type:
        - string
        - 'null'
        description: Category of the ticket
        x-dynamic-enum: true
    departmentId:
      name: departmentId
      in: query
      description: ID of the department from which ticket count must be fetched. If you do not pass this parameter in the API request, ticket count across all departments will be returned. 
      required: false
      style: form
      explode: true
      schema:
        type:
        - string
        - 'null'
        - integer
        format: int64
        description: ID of the department from which ticket count must be fetched. If you do not pass this parameter in the API request, ticket count across all departments will be returned. 
        pattern: ([0-9]+)
    contactId:
      name: contactId
      in: query
      description: 'ID of the contact who raised the ticket '
      required: false
      style: form
      explode: true
      schema:
        type:
        - string
        - 'null'
        - integer
        format: int64
        description: 'ID of the contact who raised the ticket '
        pattern: ([0-9]+)
    createdTimeRange:
      name: createdTimeRange
      in: query
      description: Key that filters tickets created in a particular period of time. !Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ;! !For example,! createdTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z
      required: false
      style: form
      explode: true
      schema:
        type:
        - string
        - 'null'
        description: Key that filters tickets created in a particular period of time. !Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ;! !For example,! createdTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z
        maxLength: 100
        minLength: 0
        pattern: (((19|20)\d\d)[-/.]{1}(0?[1-9]|1[012])[-/.]{1}(0?[1-9]|[12][0-9]|3[01])(T)([01]?[0-9]|2[0-3]):[0-5]?[0-9]:[0-5]?[0-9]([/.][\d]{0,3})?(Z)),(((19|20)\d\d)[-/.]{1}(0?[1-9]|1[012])[-/.]{1}(0?[1-9]|[12][0-9]|3[01])(T)([01]?[0-9]|2[0-3]):[0-5]?[0-9]:[0-5]?[0-9]([/.][\d]{0,3})?(Z))|null
    assigneeId:
      name: assigneeId
      in: query
      description: ID of the agent assigned to resolve the ticket
      required: false
      style: form
      explode: true
      schema:
        type:
        - string
        - 'null'
        - integer
        format: int64
        description: ID of the agent assigned to resolve the ticket
        pattern: ([0-9]+)
    modifiedTimeRange:
      name: modifiedTimeRange
      in: query
      description: Key that filters tickets modified in a particular period of time. !Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ;! !For example,! modifiedTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z
      required: false
      style: form
      explode: true
      schema:
        type:
        - string
        - 'null'
        description: Key that filters tickets modified in a particular period of time. !Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ;! !For example,! modifiedTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z
        maxLength: 100
        minLength: 0
        pattern: (((19|20)\d\d)[-/.]{1}(0?[1-9]|1[012])[-/.]{1}(0?[1-9]|[12][0-9]|3[01])(T)([01]?[0-9]|2[0-3]):[0-5]?[0-9]:[0-5]?[0-9]([/.][\d]{0,3})?(Z)),(((19|20)\d\d)[-/.]{1}(0?[1-9]|1[012])[-/.]{1}(0?[1-9]|[12][0-9]|3[01])(T)([01]?[0-9]|2[0-3]):[0-5]?[0-9]:[0-5]?[0-9]([/.][\d]{0,3})?(Z))|null
  responses:
    ticketsCountResponse:
      description: ticketsCountResponse template definitions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/countResponse'
          examples:
            Valid responses Definitions:
              value:
                count: 200
    ticketsCountByFieldValuesResponse:
      description: ticketsCountResponse template definitions
      content:
        application/json:
          schema:
            anyOf:
            - $ref: '#/components/schemas/countResponse'
            - $ref: '#/components/schemas/spamResponse'
            - $ref: '#/components/schemas/escalatedResponse'
            - $ref: '#/components/schemas/overDueResponse'
            - $ref: '#/components/schemas/statusTypeResponse'
            - $ref: '#/components/schemas/statusResponse'
            - $ref: '#/components/schemas/priorityResponse'
            - $ref: '#/components/schemas/channelResponse'
          examples:
            Valid responses Definitions:
              value:
                overDue: 2
                statusType:
                - count: '13'
                  value: OPEN
                - count: '0'
                  value: ONHOLD
                - count: '0'
                  value: CLOSED
                escalated: 10
                channel:
                - count: '6'
                  value: twitter
                - count: '3'
                  value: forums
                - count: '2'
                  value: chat
                - count: '2'
                  value: web
                priority:
                - count: '8'
                  value: high
                - count: '5'
                  value: medium
                spam: 10
                status:
                - count: '9'
                  value: open
                - count: '4'
                  value: escalated
  securitySchemes:
    iam-oauth2-schema:
      $ref: ./Common.json#/components/securitySchemes/iam-oauth2-schema
x-entity: Helpcenter