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

# List enterprise support tickets

> List support tickets across the enterprise's accessible teams, ordered by creation time. Reporter identities, Zendesk tags, and internal agent links are intentionally omitted. Requires an `enterprise_all_teams` key with the `read:support_tickets` permission; single-team and portfolio keys receive 403.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/enterprise/{enterpriseId}/support-tickets
openapi: 3.1.0
info:
  title: Avoca Enterprise API
  description: >-
    Read-only programmatic access to Avoca data: calls and recordings,
    transcripts, leads, coach evaluations, Simple Scheduler sessions and
    analytics, outbound texting activity, and enterprise support tickets.
  version: 1.4.0
servers:
  - url: https://enterprise-api.avoca.ai
security:
  - bearerAuth: []
tags:
  - name: Calls
    description: Call records, recordings, transcripts, and pre-call transfers
  - name: Leads
    description: Unified leads (v0) and the canonical leads feed (v1)
  - name: Teams
    description: Teams accessible to the API key
  - name: Coach
    description: Coach (QA) call evaluations and rubrics
  - name: Scheduler Analytics (v0)
    description: Simple Scheduler analytics — legacy flat endpoints
  - name: Sessions & Bookings
    description: v1 scheduling-widget sessions and completed bookings
  - name: Analytics (v1)
    description: v1 funnel, UTM, service-area, and issue-type analytics
  - name: Outbound Texting
    description: Campaign text and subscription-event feeds for BI ingestion
  - name: Support Tickets
    description: Customer-safe enterprise support-ticket feed
paths:
  /api/v1/enterprise/{enterpriseId}/support-tickets:
    get:
      tags:
        - Support Tickets
      summary: List enterprise support tickets
      description: >-
        List support tickets across the enterprise's accessible teams, ordered
        by creation time. Reporter identities, Zendesk tags, and internal agent
        links are intentionally omitted. Requires an `enterprise_all_teams` key
        with the `read:support_tickets` permission; single-team and portfolio
        keys receive 403.
      operationId: listEnterpriseSupportTickets
      parameters:
        - name: enterpriseId
          in: path
          required: true
          description: The enterprise ID
          schema:
            type: integer
        - name: team_id
          in: query
          description: Filter to one accessible team
          schema:
            type: integer
            minimum: 1
        - $ref: '#/components/parameters/startDate'
        - $ref: '#/components/parameters/endDate'
        - $ref: '#/components/parameters/includeTestTeams'
        - $ref: '#/components/parameters/cursor'
        - name: limit
          in: query
          description: Results per page (default 50, max 100)
          schema:
            type: integer
            default: 50
            minimum: 1
            maximum: 100
      responses:
        '200':
          description: Paginated support tickets across the enterprise
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SupportTicket'
                  pagination:
                    $ref: '#/components/schemas/CursorPagination'
                  meta:
                    type: object
                    properties:
                      enterprise_id:
                        type: integer
                      team_ids:
                        type: array
                        items:
                          type: integer
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  parameters:
    startDate:
      name: start_date
      in: query
      description: Only rows on/after this ISO 8601 timestamp
      schema:
        type: string
        format: date-time
    endDate:
      name: end_date
      in: query
      description: Only rows before this ISO 8601 timestamp
      schema:
        type: string
        format: date-time
    includeTestTeams:
      name: include_test_teams
      in: query
      description: >-
        Include designated internal QA/test teams in multi-team aggregations
        (default false)
      schema:
        type: boolean
        default: false
    cursor:
      name: cursor
      in: query
      description: >-
        Opaque pagination cursor from the previous response's
        `pagination.cursor`
      schema:
        type: string
  schemas:
    SupportTicket:
      type: object
      description: >-
        A customer-safe support ticket. Reporter identity, Zendesk tags, and
        internal agent links are omitted.
      properties:
        id:
          type: integer
        team_id:
          type: integer
        created_at:
          type: string
          format: date-time
        call_id:
          type:
            - string
            - 'null'
        text_conversation_id:
          type:
            - string
            - 'null'
        zendesk_ticket_id:
          type:
            - integer
            - 'null'
        zendesk:
          type:
            - object
            - 'null'
          description: >-
            Best-effort Zendesk enrichment; null when no Zendesk ticket exists
            or enrichment is unavailable.
          properties:
            subject:
              type:
                - string
                - 'null'
            status:
              type:
                - string
                - 'null'
            priority:
              type:
                - string
                - 'null'
              enum:
                - low
                - normal
                - high
                - urgent
                - null
            classification:
              type: string
              enum:
                - break_fix
                - custom_update
                - clarification
                - hallucination_connectivity
                - unclassified
            original_reported_task:
              type:
                - string
                - 'null'
            created_at:
              type:
                - string
                - 'null'
              format: date-time
            updated_at:
              type:
                - string
                - 'null'
              format: date-time
          required:
            - subject
            - status
            - priority
            - classification
            - original_reported_task
            - created_at
            - updated_at
      required:
        - id
        - team_id
        - created_at
        - call_id
        - text_conversation_id
        - zendesk_ticket_id
        - zendesk
    CursorPagination:
      type: object
      properties:
        cursor:
          type:
            - string
            - 'null'
          description: >-
            Pass back as the `cursor` query parameter to fetch the next page;
            `null` on the last page
        has_more:
          type: boolean
        limit:
          type: integer
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error type
        message:
          type: string
          description: Human-readable description (newer endpoints)
      required:
        - error
  responses:
    BadRequest:
      description: Invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: API key lacks the required permission or team access
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key in the format `avoca_<64 hex characters>`

````