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

# Create a webhook

> Subscribes a URL to the campaign_reply event (the only event; fixed in code). New campaign replies are POSTed to it from now on. Refuses (flash) unless url starts with http:// or https://.

**Minimum role:** `admin` (`x-min-role`). **Destructive:** `false` (`x-destructive`).



## OpenAPI

````yaml /openapi.json post /settings/webhooks/create
openapi: 3.0.3
info:
  title: Sales Sequencer API
  version: '1'
  description: >-
    Every Sales Sequencer action over HTTP. Each call runs as the API key's
    creator, with that user's role, in the key's workspace. Auth: X-API-Key
    header.
servers:
  - url: https://api.salessequencer.com/api/v1
security:
  - key: []
paths:
  /settings/webhooks/create:
    post:
      tags:
        - Webhooks
      summary: Create a webhook
      description: >-
        Subscribes a URL to the campaign_reply event (the only event; fixed in
        code). New campaign replies are POSTed to it from now on. Refuses
        (flash) unless url starts with http:// or https://.


        **Minimum role:** `admin` (`x-min-role`). **Destructive:** `false`
        (`x-destructive`).
      operationId: workspaces_create_webhook
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              properties:
                label:
                  description: Label.
                  type: string
                url:
                  description: http(s) URL to receive the POST.
                  type: string
              required:
                - url
              type: object
      responses:
        '200':
          description: Redirect; flash 'Webhook created...'. The new id is not returned.
components:
  securitySchemes:
    key:
      in: header
      name: X-API-Key
      type: apiKey

````

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