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

# List webhook endpoints

> Lists webhook endpoints scoped to the signed partner integration. Secret material is never returned.



## OpenAPI

````yaml /openapi/payfi-v1.json get /v1/webhooks
openapi: 3.0.0
info:
  title: PayFi Partner API
  description: >-
    Partner API for PayFi compliance document automation. Dashboard Partner
    access is the admin role for exactly one partner integration; public API
    requests remain authenticated with signed partner API keys.
  version: 0.1.0
  contact: {}
servers:
  - url: https://sandbox.payfi.global
    description: Sandbox
  - url: https://api.payfi.global
    description: Production
security: []
tags:
  - name: Customers
    description: Signed partner endpoints for customer records.
  - name: Operations
    description: Signed partner endpoints for operations, documents, and upload completion.
  - name: Webhooks
    description: Partner-managed webhook endpoints and signed callback tests.
paths:
  /v1/webhooks:
    get:
      tags:
        - Webhooks
      summary: List webhook endpoints
      description: >-
        Lists webhook endpoints scoped to the signed partner integration. Secret
        material is never returned.
      operationId: WebhooksController_list
      parameters: []
      responses:
        '200':
          description: Webhook endpoints.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEndpointListResponse'
              examples:
                endpoints:
                  value:
                    - webhookId: whe_example
                      name: Acme endpoint
                      url: https://acme.example/payfi/webhooks
                      status: ACTIVE
                      eventTypes:
                        - operation.analysis.completed
                      secretPreview: whsec_te...abcd
                      createdAt: '2026-05-20T12:00:00.000Z'
                      updatedAt: '2026-05-20T12:00:00.000Z'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidRequest:
                  value:
                    error:
                      code: INVALID_REQUEST
                      message: The request payload is invalid.
        '401':
          description: Authentication failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                unauthorized:
                  value:
                    error:
                      code: UNAUTHORIZED
                      message: Authentication failed.
      security:
        - PayFiApiKey: []
          PayFiNonce: []
          PayFiSignature: []
components:
  schemas:
    WebhookEndpointListResponse:
      type: array
      items:
        $ref: '#/components/schemas/WebhookEndpointResponse'
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: INVALID_SIGNATURE
            message:
              type: string
              example: The request signature is invalid.
    WebhookEndpointResponse:
      type: object
      properties:
        webhookId:
          type: string
          example: whe_example
        name:
          type: string
          example: Acme endpoint
        url:
          type: string
          example: https://acme.example/payfi/webhooks
        status:
          type: string
          example: ACTIVE
        eventTypes:
          type: array
          items:
            type: string
          example:
            - operation.analysis.completed
        secretPreview:
          type: string
          example: whsec_te...abcd
        createdAt:
          type: string
          example: '2026-05-20T12:00:00.000Z'
        updatedAt:
          type: string
          example: '2026-05-20T12:00:00.000Z'
  securitySchemes:
    PayFiApiKey:
      type: apiKey
      in: header
      name: X-PayFi-Api-Key
    PayFiNonce:
      type: apiKey
      in: header
      name: X-PayFi-Nonce
    PayFiSignature:
      type: apiKey
      in: header
      name: X-PayFi-Signature

````