• EN
  • Incoming webhooks

    An incoming webhook gives a service a secret URL for posting as an existing bot into one channel. It works well for build and deployment notifications.

    Create a URL

    1. Open Workspace settings → Integrations → Webhooks → Incoming webhooks with permission to manage workspace integrations.
    2. Choose an active workspace bot with an unrevoked, unexpired bot token.
    3. Choose a public or private plaintext channel and create the webhook.
    4. Copy the URL immediately and store it as a secret. The URL is shown once.
    5. Send a test message.

    Pulse adds the bot to the channel if needed. Direct messages, archived, read-only and encrypted channels are ineligible. The URL fixes both the bot and the destination.

    Send JSON

    Set PULSE_WEBHOOK_URL to the URL copied from Pulse.

    curl --fail-with-body --silent --show-error \
      -H 'Content-Type: application/json' \
      --data '{"text":"Deployment completed"}' \
      "$PULSE_WEBHOOK_URL"

    A successful request returns HTTP 200 with the text ok. The generic endpoint accepts exactly one JSON object with a non-empty text field. Additional fields are rejected. The body limit is 64 KiB.

    The URL authenticates the request. Keep it out of source control, screenshots and public logs. Bot bearer tokens are described in Bots.

    Connect a provider

    Choose the provider while creating the webhook and use the generated URL in that provider's webhook settings. Pulse formats the supported event into a message.

    ProviderURL suffixEvents to enable
    GitLab/gitlabIssues or work items and merge requests
    Bitbucket Cloud/bitbucketPull request created, updated, merged and declined
    Bitbucket Data Center/bitbucket-data-centerPull request opened, modified, merged and declined
    Jira Cloud/jiraIssue or work item created and updated
    Jira Data Center/jira-data-centerIssue created and updated

    Bitbucket Data Center requires the instance URL, including its port and context path when applicable. The UI adds a URL-encoded base_url query parameter. For example, an instance at https://bitbucket.example.com/bitbucket produces a suffix of /bitbucket-data-center?base_url=https%3A%2F%2Fbitbucket.example.com%2Fbitbucket.

    Provider requests have a 256 KiB body limit. Valid events outside the supported set return 204 without a message. Confidential GitLab issues and Jira issues with a security level are skipped. These adapters authenticate using the secret Pulse URL. They do not verify a provider webhook signature.

    See the webhook reference for event keys and duplicate handling. Provider integrations explains the GitHub issue workflow.

    Rotate and troubleshoot

    Create a replacement, update the sending service, test it, then revoke the old URL. Revocation takes effect immediately and leaves the bot's channel membership in place.

    StatusCheck
    400JSON structure, non-empty text or required provider fields
    403Bot permissions, membership and channel eligibility
    404Invalid or revoked URL, unavailable bot or destination
    413Provider body exceeds 256 KiB
    415Set Content-Type to application/json
    429Retry after the response's Retry-After interval
    500Inspect service availability before retrying

    Generic requests have no documented deduplication key. A retry after a lost response can create another message. Provider duplicate protection requires the provider's delivery identifier header.