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

# Retrieve webhook endpoint

> Retrieves a single webhook endpoint by ID. Secret is redacted.



## OpenAPI

````yaml /openapi.json get /v1/webhooks/{webhookId}
openapi: 3.1.0
info:
  title: Daimo API
  version: 1.0.0
  description: Create deposit sessions, manage payment methods, and check session status.
servers:
  - url: https://api.daimo.com
security: []
paths:
  /v1/webhooks/{webhookId}:
    get:
      summary: Retrieve webhook endpoint
      description: Retrieves a single webhook endpoint by ID. Secret is redacted.
      parameters:
        - $ref: '#/components/parameters/WebhookId'
      responses:
        '200':
          description: Webhook endpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetrieveWebhookResponse'
        '404':
          description: Webhook not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1ErrorResponse'
      security:
        - BearerAuth: []
components:
  parameters:
    WebhookId:
      schema:
        $ref: '#/components/schemas/WebhookId'
      required: true
      name: webhookId
      in: path
  schemas:
    RetrieveWebhookResponse:
      type: object
      properties:
        webhook:
          $ref: '#/components/schemas/Webhook'
      required:
        - webhook
    V1ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              description: Error category
              example: validation_error
            code:
              type: string
              description: Machine-readable error code
              example: invalid_parameter
            message:
              type: string
              description: Human-readable description
              example: invalid session create request
            param:
              type: string
              description: Parameter that caused the error
              example: body
          required:
            - type
            - code
            - message
      required:
        - error
    WebhookId:
      type: string
      description: Webhook endpoint ID
      example: 02ab4563-07ee-4373-8472-9c7dc1027409
    Webhook:
      type: object
      properties:
        id:
          type: string
          description: Webhook endpoint ID
        url:
          type: string
          format: uri
          description: Delivery URL
        events:
          type: array
          items:
            type: string
            enum:
              - '*'
              - session.processing
              - session.succeeded
              - session.bounced
            description: Webhook event type (or * for all events)
            example: session.succeeded
          description: Subscribed event types (["*"] for all)
        description:
          type:
            - string
            - 'null'
          description: Human-readable label
        secret:
          type: string
          description: HMAC signing secret (full on create, redacted on list/get)
        createdAt:
          type: number
          description: Unix timestamp (seconds)
          example: 1700000000
      required:
        - id
        - url
        - events
        - description
        - secret
        - createdAt
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key passed as a Bearer token

````