Webhooks API
All paths below are relative to the Pulse origin and include /api/v1. Use https://app.pulsechat.ru for cloud Pulse or your own deployment origin. Webhook delivery credentials are separate from API bearer tokens.
Incoming delivery
The generic request uses Content-Type: application/json and a body such as {"text":"Build passed"}. Only text is accepted. Success returns HTTP 200, text/plain, ok. The generic limit is 64 KiB. Provider requests have a 256 KiB limit and return 204 for ignored events.
GitLab supports HTTPS project links. Jira Cloud requires an atlassian.net HTTPS issue URL. Data Center link parsing supports HTTP or HTTPS instance URLs, ports and context paths. These addresses produce message links. Pulse does not fetch them through the adapter.
Provider duplicate IDs are scoped to webhook and source instance. Without an identifier header, a repeated provider delivery can post again. Confidential GitLab issues and Jira security-level issues are skipped. Provider signatures are not checked by these adapters.
Management uses the signed-in workspace UI. Creation, listing and revocation under /api/v1/workspaces/{workspaceId}/integrations/incoming-webhooks require integration management permission. The secret URL is returned once at creation. Incoming webhooks covers setup and errors.
Outgoing envelope
Pulse sends POST requests with Content-Type: application/json.
The message lifecycle emits message.created, message.updated and message.deleted. Message data uses id, channel_id, user_id, parent_id, type, encryption_mode, created_at and updated_at. Plaintext message payloads can include content, content_format and blocks. E2EE and server-managed encrypted messages omit body fields. Accept additional fields so compatible additions do not break your receiver.
Event selection accepts explicit names and *. A filter does not create events that the server does not emit. Empty channel filters match all channels. A non-empty filter requires a matching channel ID.
Outgoing headers and signature
The current outgoing-webhook management API returns has_signing_secret without the raw secret. Secure provisioning by the server operator is required before a receiver can verify these signatures. App event subscription creation has a separate secret-returning management response.
The signing input is the timestamp string, one period and the exact raw request body. Use the signing secret as its literal UTF-8 string, including when it looks like hexadecimal.
The five-minute receiver window above is a recommended policy. Keep your clock synchronized. Verify before parsing, durably enqueue before acknowledging, and deduplicate by subscription and event ID.
Verification, retries and replay
URL verification sends unsigned {"type":"url_verification","challenge":"VALUE"}. Return 2xx JSON {"challenge":"VALUE"}. Event delivery accepts every 2xx as success. Network failures and non-2xx responses retry according to server settings. Default delays are 30 seconds, 2 minutes, 10 minutes, 30 minutes, 2 hours and 6 hours, with a default 5-second HTTP timeout.
A dead-letter replay creates a new delivery with replay_of_id and lineage_root_id, preserving the event ID and payload. The current receiver URL and secret are used. Build for duplicate and out-of-order deliveries.
Outgoing management and delivery inspection are session-authenticated UI APIs under workspace integrations or the support administration area. They are not app-token endpoints. See Outgoing webhooks.