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

# Bind a webhook verifier to a topic

> Bind (or replace) a topic's webhook verifier.

The verifier name is resolved against the registry here — an unknown name is
rejected at BIND time (400), never left to fail at delivery.



## OpenAPI

````yaml /openapi.json put /api/hooks/topics/{topic}/verifier
openapi: 3.1.0
info:
  description: The operator HTTP surface served under /api/*.
  title: tai42-skeleton API
  version: 0.1.1
servers: []
security: []
paths:
  /api/hooks/topics/{topic}/verifier:
    put:
      tags:
        - hooks
      summary: Bind a webhook verifier to a topic
      description: >-
        Bind (or replace) a topic's webhook verifier.


        The verifier name is resolved against the registry here — an unknown
        name is

        rejected at BIND time (400), never left to fail at delivery.
      operationId: put_api_hooks_topics_topic_verifier
      parameters:
        - in: path
          name: topic
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TopicVerifierBinding'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                required:
                  - data
                type: object
          description: Success.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Malformed request.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TopicVerifierBinding:
      description: |-
        Bind a registered webhook ``verifier`` (with optional ``config``) to a
        hook topic so its deliveries are signature-verified.
      properties:
        config:
          additionalProperties: true
          default: {}
          title: Config
          type: object
        verifier:
          title: Verifier
          type: string
      required:
        - verifier
      title: TopicVerifierBinding
      type: object
    Error:
      properties:
        error:
          type: string
      required:
        - error
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````