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

# List internal approval requests for the organization

> Returns paginated INTERNAL approval requests for the caller organization, sorted newest first, with userId / approvedBy / contactId / escalationTargets populated. Restricted to SUPERADMIN, ADMIN, and DEPARTMENT_HEAD roles. The `status` query supports comma-separated values for history views (e.g. `approved,rejected,failed`); defaults to `pending`.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/approval/internal/list
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/approval/internal/list:
    get:
      tags:
        - Approval
      summary: List internal approval requests for the organization
      description: >-
        Returns paginated INTERNAL approval requests for the caller
        organization, sorted newest first, with userId / approvedBy / contactId
        / escalationTargets populated. Restricted to SUPERADMIN, ADMIN, and
        DEPARTMENT_HEAD roles. The `status` query supports comma-separated
        values for history views (e.g. `approved,rejected,failed`); defaults to
        `pending`.
      operationId: get_approval_internal_list
      parameters:
        - in: query
          name: status
          required: false
          schema:
            type: string
        - in: query
          name: limit
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - in: query
          name: skip
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
      responses:
        '200':
          description: Internal approvals returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalListResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalErrorResponse'
        '403':
          description: Caller lacks required role
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ApprovalListResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        approvals:
          type: array
          items:
            $ref: '#/components/schemas/ApprovalRequestDto'
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
      required:
        - success
        - approvals
        - total
        - limit
        - skip
      additionalProperties: true
      example:
        success: true
        approvals:
          - _id: 64d2f9c5e8a1d4e001a0b1c2
            approvalType: internal
            status: pending
            question: Approve booking a Tuesday 2pm tour for Alex Nguyen?
            deferredTool: book_tour
            createdAt: '2026-04-22T10:14:00.000Z'
        total: 1
        limit: 50
        skip: 0
    ApprovalErrorResponse:
      type: object
      description: >-
        Error envelope for the Approval system. The internal approve/reject
        paths return `code` enums (`already_resolved`, `forbidden`, `not_found`)
        when a row was already consumed or the caller is not the owner; the
        public respond endpoint returns the same envelope.
      properties:
        error:
          type: string
        message:
          type: string
        code:
          type: string
        success:
          type: boolean
          enum:
            - false
      required:
        - error
      additionalProperties: true
      example:
        error: Approval already resolved
        code: already_resolved
    ApprovalRequestDto:
      type: object
      properties:
        _id:
          type: string
        organizationId:
          type: string
        userId:
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
        contactId:
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
        conversationId:
          type: string
        messageId:
          type: string
        approvalType:
          type: string
          enum:
            - contact
            - internal
        internalApprovalMode:
          type: string
          enum:
            - blocking
            - non_blocking
          nullable: true
        status:
          type: string
          enum:
            - pending
            - approved
            - rejected
            - failed
            - skipped
        question:
          type: string
        deferredTool:
          type: string
        deferredToolArgs:
          type: object
          additionalProperties: true
        deferredToolResult: {}
        failureReason:
          type: string
          nullable: true
        rejectionNotes:
          type: string
          nullable: true
        approvedBy:
          nullable: true
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
        escalationTargets:
          type: array
          items:
            oneOf:
              - type: string
              - type: object
                additionalProperties: true
        internalInterimMessage:
          type: string
          nullable: true
        respondedAt:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      additionalProperties: true
      example:
        _id: 64d2f9c5e8a1d4e001a0b1c2
        organizationId: 64a1b2c3d4e5f60012345678
        userId:
          _id: 64a1b2c3d4e5f60012345679
          fullName: Jordan Lee
        contactId:
          _id: 64b2c3d4e5f60012345678aa
          firstName: Alex
          lastName: Nguyen
          phoneNumber: '+14155551234'
        conversationId: 64d2f9c5e8a1d4e001a0b1c3
        messageId: 64d2f9c5e8a1d4e001a0b1c4
        approvalType: internal
        internalApprovalMode: blocking
        status: pending
        question: Approve booking a Tuesday 2pm tour for Alex Nguyen?
        deferredTool: book_tour
        deferredToolArgs:
          startsAt: '2026-04-29T18:00:00.000Z'
          contactId: 64b2c3d4e5f60012345678aa
        escalationTargets:
          - _id: 64a1b2c3d4e5f6001234567b
            fullName: Sam Patel
        createdAt: '2026-04-22T10:14:00.000Z'
        updatedAt: '2026-04-22T10:14:00.000Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````