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

# Retrieve a webhook endpoint

> Fetches a single webhook endpoint by ID.

<Info>Click the base URL in the API playground and select the **Sandbox** host for test data or the **Production** host for live data. Use credentials from the same environment.</Info>


## OpenAPI

````yaml /api-reference/openapi.json get /webhook/endpoints/{pk}/
openapi: 3.0.0
info:
  title: kelviq API
  version: 1.0.0
  description: >-
    API for interacting with kelviq services, derived from Python SDK
    documentation.
servers:
  - url: https://sandboxapi.kelviq.com/api/v1
    description: Sandbox — Test payments
  - url: https://api.kelviq.com/api/v1
    description: Production — Live payments
security:
  - bearerAuth: []
tags:
  - name: Products
    description: Catalog products.
  - name: Product Settings
    description: Per-product settings (currency, VPN/Tor/proxy, product URL).
  - name: Product Files
    description: Product images and downloadable assets.
  - name: Features
    description: Catalog features that can be granted as plan entitlements.
  - name: Plans
    description: Catalog plans (CRUD, publish, versions, prices).
  - name: Plan Entitlements
    description: Feature entitlements attached to a plan.
  - name: Plan Files
    description: Files attached to plans, and signed download links.
  - name: Media
    description: Generate presigned S3 upload URLs for product/plan images and files.
  - name: Partner
    description: Partner integration APIs (organization provisioning, lookup).
  - name: Charges
    description: >-
      One-time payments charged immediately against a customer's default payment
      method.
  - name: Refunds
    description: Full and partial refunds for paid orders.
  - name: Transactions
    description: >-
      Charges, refunds, disputes, and other financial movements for the
      authenticated organization.
  - name: Payment Methods
    description: Saved customer payment methods (cards, etc.).
  - name: Orders
    description: Completed and resolved orders for the authenticated organization.
  - name: Order Events
    description: Timeline events for a specific order.
  - name: Invoices
    description: Invoices generated for orders and subscription billing cycles.
  - name: Discounts
    description: >-
      Discount codes (coupons) that can be applied to products and plans at
      checkout.
  - name: Webhook Endpoints
    description: >-
      Configure the destination URLs and event subscriptions that receive
      webhook deliveries.
  - name: Webhooks
    description: Delivery logs for webhook events sent to your configured endpoints.
  - name: Checkout Sessions
    description: Merchant-side view of checkout sessions created by customers.
  - name: Checkout Session Events
    description: Timeline events for a specific checkout session.
paths:
  /webhook/endpoints/{pk}/:
    parameters:
      - name: pk
        in: path
        required: true
        description: Webhook endpoint UUID.
        example: 2f6b9e2a-7c1a-4a3e-8b6e-8e6f9a2c1d4a
        schema:
          type: string
          format: uuid
    get:
      tags:
        - Webhook Endpoints
      summary: Retrieve a webhook endpoint
      description: Fetches a single webhook endpoint by ID.
      operationId: retrieveWebhookEndpoint
      responses:
        '200':
          description: Webhook endpoint details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEndpoint'
        '401':
          description: Unauthorized — missing or invalid API key.
        '404':
          description: Webhook endpoint not found.
components:
  schemas:
    WebhookEndpoint:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: 2f6b9e2a-7c1a-4a3e-8b6e-8e6f9a2c1d4a
        url:
          type: string
          format: uri
          description: Destination URL that webhook events are POSTed to.
          example: https://example.com/webhooks/kelviq
        enabled:
          type: boolean
          description: Disabled endpoints don't receive deliveries.
        events:
          type: array
          description: Event types this endpoint is subscribed to.
          items:
            type: string
            enum:
              - checkout.completed
              - customer.created
              - customer.updated
              - order.created
              - order.updated
              - order.refunded
              - subscription.created
              - subscription.updated
              - subscription.cancelled
              - subscription.plan_changed
              - subscription.trial_will_end
              - invoice.created
              - invoice.paid
              - invoice.payment_failed
              - refund.created
              - refund.updated
              - feature.usage_alert
              - payment_method.created
              - payment_method.updated
              - payment_method.deleted
        secret:
          type: string
          description: >-
            Signing secret used to verify the `Kelviq-Signature` header on
            deliveries to this endpoint.
          readOnly: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        The Server API Key obtained from the kelviq application. Pass as a
        Bearer token in the Authorization header. Example: 'Authorization:
        Bearer __YOUR_API_KEY__'

````