> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Tickets



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#ZENDESK_SEARCH_TICKETS
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#ZENDESK_SEARCH_TICKETS:
    post:
      summary: Search Tickets
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: ZENDESK_SEARCH_TICKETS
                parameters:
                  type: object
                  properties:
                    ticketSubject:
                      type: string
                      description: >-
                        Subject : Filter results by the text in the ticket’s
                        subject.
                    ticketDescription:
                      type: string
                      description: >-
                        Description : Filter results by the text in the ticket's
                        description and comments.
                    ticketStatus:
                      type: string
                      description: Status
                      enum:
                        - new
                        - open
                        - pending
                        - hold
                        - solved
                        - closed
                    ticketType:
                      type: string
                      description: Type
                      enum:
                        - problem
                        - incident
                        - question
                        - task
                        - no_type
                    createdDate-left:
                      type: string
                      description: >-
                        Created Date : Filter tickets by their created date.
                        (example: "YYYY-MM-DD")
                      enum:
                        - EQUALS
                        - LESS_THAN_EQUALS
                        - GREATER_THAN_EQUALS
                    createdDate-right:
                      type: string
                      description: >-
                        Created Date Value : Filter tickets by their created
                        date. (example: "YYYY-MM-DD")
                    updatedDate-left:
                      type: string
                      description: >-
                        Updated Date : Filter tickets by their updated date.
                        (example: "YYYY-MM-DD")
                      enum:
                        - EQUALS
                        - LESS_THAN_EQUALS
                        - GREATER_THAN_EQUALS
                    updatedDate-right:
                      type: string
                      description: >-
                        Updated Date Value : Filter tickets by their updated
                        date. (example: "YYYY-MM-DD")
                    dueDate-left:
                      type: string
                      description: >-
                        Due Date : Filter tickets by their due date. (example:
                        "YYYY-MM-DD")
                      enum:
                        - EQUALS
                        - LESS_THAN_EQUALS
                        - GREATER_THAN_EQUALS
                    dueDate-right:
                      type: string
                      description: >-
                        Due Date Value : Filter tickets by their due date.
                        (example: "YYYY-MM-DD")
                    requesterId:
                      type: string
                      description: >-
                        Requester ID : Filter by the user who requested this
                        ticket.
                    assigneeId:
                      type: string
                      description: >-
                        Assignee ID : Filter by the agent assigned to the
                        ticket.
                    recipientEmail:
                      type: string
                      description: >-
                        Recipient : Filter by the original recipient e-mail
                        address of the ticket. (example: "name@example.com")
                    ticketPriority:
                      type: string
                      description: Priority
                      enum:
                        - urgent
                        - high
                        - normal
                        - low
                        - no_priority
                    ticketTags:
                      type: string
                      description: 'Tags : Filter tickets by their tag.'
                    ticketExternalId:
                      type: string
                      description: 'External ID : Filter by tickets by their external ID.'
                    sort_by:
                      type: string
                      description: Sort By
                      enum:
                        - created_at
                        - updated_at
                        - priority
                        - status
                        - ticket_type
                    sort_order:
                      type: string
                      description: Sort Order
                      enum:
                        - asc
                        - desc
                    dueDate:
                      type: object
                      description: Due Date
                      properties:
                        operator:
                          type: string
                          description: Due Date Operator
                          enum:
                            - EQUALS
                            - LESS_THAN_EQUALS
                            - GREATER_THAN_EQUALS
                        value:
                          type: string
                          description: Due Date Value
                          format: date
                      required:
                        - operator
                        - value
                    createdDate:
                      type: object
                      description: Created Date
                      properties:
                        operator:
                          type: string
                          description: Created Date Operator
                          enum:
                            - EQUALS
                            - LESS_THAN_EQUALS
                            - GREATER_THAN_EQUALS
                        value:
                          type: string
                          description: Created Date Value
                          format: date
                      required:
                        - operator
                        - value
                    updatedDate:
                      type: object
                      description: Updated Date
                      properties:
                        operator:
                          type: string
                          description: Updated Date operator
                          enum:
                            - EQUALS
                            - LESS_THAN_EQUALS
                            - GREATER_THAN_EQUALS
                        value:
                          type: string
                          description: Updated Date value
                          format: date
                      required:
                        - operator
                        - value
                  x-integration: zendesk
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````