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

# Invoke a webhook that triggers a pipeline

> Invoke a webhook that triggers a pipeline



## OpenAPI

````yaml /swagger.yml post /public/pipelines/webhook/{webhookId}
openapi: 3.0.0
info:
  title: Public API Docs
  description: Clerk Public API
  version: '1.0'
  contact: {}
servers:
  - url: https://web-api.clerk.chat
    description: Production server
  - url: http://localhost:3000
    description: Production server
security: []
tags: []
paths:
  /public/pipelines/webhook/{webhookId}:
    post:
      tags:
        - Pipelines
      summary: Invoke a webhook that triggers a pipeline
      description: Invoke a webhook that triggers a pipeline
      operationId: PublicPipelinesController_handleWebhook
      parameters:
        - name: webhookId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvokeWebhookRequest'
      responses:
        '202':
          description: ''
        '400':
          description: Invalid request body
        '401':
          description: Unauthorized request
        '403':
          description: You do not have permission to access this resource
        '404':
          description: Resource not found
        '422':
          description: Invalid request parameters
        '429':
          description: Too many requests for this resource
        '500':
          description: Internal server error
      security:
        - api_key: []
components:
  schemas:
    InvokeWebhookRequest:
      type: object
      properties:
        phone:
          type: string
          description: The phone number of the contact
          example: '+1234567890'
        outboundDial:
          type: boolean
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: apiKey

````