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

# Create outbound webhook



## OpenAPI

````yaml /openapi.json post /api/v1/webhooks
openapi: 3.1.0
info:
  title: Instance Public API
  version: 1.0.0
  description: >-
    Programmatic REST API for Instance CRM, Sales Chat, Automations, Audience
    Lists, Bio Links, Scheduled Posts, Analytics, and Webhooks.
servers:
  - url: http://localhost:4000
    description: Local Self-Hosted Development
  - url: https://api.yourdomain.com
    description: Production Instance API
security:
  - ApiKeyAuth: []
tags:
  - name: Workspace
    description: Workspace info, tags, pipelines, and automations list
  - name: Contacts
    description: CRM leads, tags, stages, assignments, and history
  - name: Conversations
    description: Sales Chat threads, AI toggle, Whisper Notes, and deal closing
  - name: Messages
    description: Send outbound Instagram DMs
  - name: Automations
    description: Trigger, update, and inspect automation executions
  - name: Audience Lists
    description: Segmented email/phone contact lists
  - name: Bio Links
    description: Bio Link page settings, links, products, leads, and analytics
  - name: Posts
    description: Schedule and manage Instagram Photos, Reels, Carousels, and Stories
  - name: Instagram
    description: Media, Story mentions, and DM Icebreakers
  - name: Analytics
    description: Workspace overview and sales funnel metrics
  - name: Webhooks
    description: Manage outbound HMAC-SHA256 webhooks
paths:
  /api/v1/webhooks:
    post:
      tags:
        - Webhooks
      summary: Create outbound webhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - url
              properties:
                url:
                  type: string
                  description: HTTPS endpoint URL to receive webhook events
                description:
                  type: string
                  description: Optional label for this webhook
                events:
                  type: array
                  description: List of event names to subscribe to
                  items:
                    type: string
            example:
              url: https://hooks.example.com/instance
              description: Sync qualified leads to CRM
              events:
                - lead.qualified
                - contact.info_captured
      responses:
        '201':
          description: Webhook created
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                data:
                  id: wh_2
                  url: https://hooks.example.com/instance
                  description: Sync qualified leads to CRM
                  events:
                    - lead.qualified
                    - contact.info_captured
                  secret: whsec_live_secret_shown_once
                  isActive: true
                  createdAt: '2026-04-10T15:00:00.000Z'
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Workspace API key generated in Dashboard -> Settings -> API Keys
        (inst_live_...)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.