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

# Get webhook endpoint



## OpenAPI

````yaml /openapi/program.openapi.json get /webhook_endpoints/{endpointId}
openapi: 3.1.0
info:
  title: Questra Program API
  version: 0.0.1
  description: >-
    REST API for the Questra Program product. Browser users authenticate through
    Questra Auth SSO; automation uses workspace-scoped API keys (`Authorization:
    Bearer qpk_live_…`). API keys carry scopes enforced before handlers.
    Outbound webhooks follow Standard Webhooks (at-least-once delivery;
    consumers must be idempotent).
servers:
  - url: /v1
    description: Program API base path
security: []
paths:
  /webhook_endpoints/{endpointId}:
    get:
      tags:
        - Webhook endpoints
      summary: Get webhook endpoint
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: endpointId
          in: path
      responses:
        '200':
          description: Webhook endpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEndpointResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
components:
  schemas:
    WebhookEndpointResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/WebhookEndpoint'
      required:
        - data
    ErrorBody:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        resource:
          type: string
        slug:
          type: string
        file_id:
          type: string
        endpoint_id:
          type: string
        event_id:
          type: string
        delivery_id:
          type: string
        api_key_id:
          type: string
        integration_id:
          type: string
        audit_id:
          type: string
        status:
          type: string
        details: {}
        question_ids:
          type: array
          items:
            type: string
        survey_ids:
          type: array
          items:
            type: string
        revisions:
          type: array
          items:
            type: number
      required:
        - error
    WebhookEndpoint:
      type: object
      properties:
        id:
          type: string
          format: uuid
        url:
          type: string
          format: uri
        description:
          type: string
        enabled:
          type: boolean
        event_types:
          type: array
          items:
            $ref: '#/components/schemas/WebhookEventType'
          minItems: 1
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - url
        - enabled
        - event_types
        - created_at
        - updated_at
    WebhookEventType:
      type: string
      enum:
        - survey.created
        - survey.updated
        - survey.deleted
        - file.created
        - file.updated
        - file.ready
        - file.deleted
        - questionnaire.updated
        - questionnaire.clarifications.updated
        - survey.audit.updated
        - workflow.started
        - workflow.updated
        - workflow.finished
        - content.updated

````