Slack Events
Receives incoming Slack events (messages, mentions, thread starts).
URL Verification: On first setup, Slack sends a url_verification challenge. The endpoint echoes back the challenge string.
Event Processing: Normal events are acknowledged immediately with {"status": "ok"} and processed in the background. This prevents Slack’s 3-second retry timeout.
Retry Handling: Events with X-Slack-Retry-Num header are duplicates and return 200 without reprocessing.
Setup: Configure this URL in your Slack App under Event Subscriptions > Request URL.
See the setup guide for creating a Slack App or use the manifest for quick setup.
Headers
Unix timestamp when Slack sent the request
HMAC signature for request verification (v0=hash)
Retry attempt number (present on retried events)
Response
Event processed successfully
- SlackChallengeResponse
- SlackEventResponse
Challenge string to echo back to Slack