Give Slack the receiver’s exact public path
Choose an HTTP deployment that matches your Bolt receiver. It must listen on 0.0.0.0 and the assigned SERVER_PORT. Open Settings and copy the platform HTTPS origin. Append the receiver path you set up, for example /slack/events. Use a verified custom domain only after HTTPS works there.
Paste the full URL in Slack’s Event Subscriptions settings while HTTP delivery is enabled. Slack sends a verification POST and expects the returned challenge. The standard Bolt receiver handles this step. Make sure the route is accessible to Slack without a browser sign-in or HTTP redirect. Configure the slash command and interactivity URLs in their respective settings if your app uses them.
Let Bolt verify the original request
Store the app’s signing secret as the variable your receiver reads, commonly SLACK_SIGNING_SECRET. Restart after saving it. If you use a custom web framework or middleware, preserve the original request body and Slack’s signature and timestamp headers for verification. If middleware consumes or re-encodes the body first, Bolt can reject a genuine Slack request.
Use an independent health endpoint, such as /healthz, for uptime checks. Keep Slack’s Events endpoint protected by signature verification. Slack request verification.
Trace URL verification and then a real event
- For an unreachable endpoint, confirm the listener and HTTPS origin. Try the health route from outside the deployment.
- For a 404 from Slack’s POST, check the path and method in the receiver and proxy.
- For a signature failure, check the app’s signing secret, the request body and the host clock.
- For a timeout, check startup and the time the handler takes to acknowledge. Defer slow work until after the acknowledgment.
After Slack verifies the URL, send a real subscribed event or slash command from the test workspace. Watch Console for the handler outcome. For a worker with no public routes, see when to use Socket Mode.