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

# Get webhook endpoint

> Returns the endpoint configuration plus its 25 most recent delivery attempts. Requires canManageWebhooks.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/webhooks/{endpointId}
openapi: 3.0.3
info:
  title: FlowSign API
  version: 1.0.0
  description: >-
    Public v1 API for FlowSign. Every endpoint is authenticated with a Bearer
    API key (prefix `fsk_`). Errors use `{ error, details? }`; success responses
    wrap payload data as `{ data }`.


    An organisation is divided into workspaces. A key belongs to the
    organisation and acts in one workspace per request: pass `X-Workspace-Id`
    (see `GET /api/v1/workspaces`) or omit it to act in the default workspace.
    Packages, templates, contacts and members are scoped to the workspace the
    call acts in.
servers:
  - url: https://my.flowsign.app
    description: Production
security:
  - ApiKey: []
paths:
  /api/v1/webhooks/{endpointId}:
    get:
      tags:
        - Webhooks
      summary: Get webhook endpoint
      description: >-
        Returns the endpoint configuration plus its 25 most recent delivery
        attempts. Requires canManageWebhooks.
      operationId: getWebhooksByEndpointId
      parameters:
        - schema:
            type: string
          required: true
          name: endpointId
          in: path
        - schema:
            type: string
            description: >-
              The workspace to act in, from `GET /api/v1/workspaces`. Omit to
              act in the organisation's default workspace. A workspace the key's
              user cannot act in is treated as omitted.
          required: false
          name: x-workspace-id
          in: header
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      url:
                        type: string
                      description:
                        type: string
                        nullable: true
                      events:
                        type: array
                        items:
                          type: string
                          enum:
                            - PACKAGE_SENT
                            - PACKAGE_COMPLETED
                            - PACKAGE_VOIDED
                            - PACKAGE_EXPIRED
                            - PACKAGE_DECLINED
                            - SESSION_SENT
                            - SESSION_OPENED
                            - SESSION_COMPLETED
                            - SESSION_DECLINED
                      enabled:
                        type: boolean
                      failureCount:
                        type: integer
                        minimum: 0
                      lastDeliveryAt:
                        type: string
                        nullable: true
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                      deliveries:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            eventType:
                              type: string
                              enum:
                                - PACKAGE_SENT
                                - PACKAGE_COMPLETED
                                - PACKAGE_VOIDED
                                - PACKAGE_EXPIRED
                                - PACKAGE_DECLINED
                                - SESSION_SENT
                                - SESSION_OPENED
                                - SESSION_COMPLETED
                                - SESSION_DECLINED
                            responseStatus:
                              type: integer
                              nullable: true
                            error:
                              type: string
                              nullable: true
                            attemptCount:
                              type: integer
                              minimum: 0
                            deliveredAt:
                              type: string
                              nullable: true
                            createdAt:
                              type: string
                          required:
                            - id
                            - eventType
                            - responseStatus
                            - error
                            - attemptCount
                            - deliveredAt
                            - createdAt
                    required:
                      - id
                      - url
                      - description
                      - events
                      - enabled
                      - failureCount
                      - lastDeliveryAt
                      - createdAt
                      - updatedAt
                      - deliveries
                required:
                  - data
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Caller's plan does not include this feature (publicApi / webhooks)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key present but caller lacks the required permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request failed schema validation; details keyed by field
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded; see `Retry-After`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        details:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
      required:
        - error
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: fsk_*

````