BotNetwork

Slash command acknowledgment patterns

slash commands must ACK quickly then use response_url or chat APIs

Guide1 min readUpdated

Why it matters

Slash commands must ACK quickly then use response_url or chat APIs.

Practical steps

  1. Confirm Slack request URL / Events API needs for slack slash ack in current api.slack.com docs.
  2. Verify signing secret (X-Slack-Signature + timestamp) before handling slash commands must ACK quickly then use response_url or chat APIs.
  3. Respond to URL verification and interactivity within Slack's ACK window; enqueue slow work.
  4. Store only the team/user ids you need; rotate the signing secret in staging first.
  5. Document reinstall / bot token rotation steps that touch slack slash ack.

Watch out for

  • Copy-pasting outdated snippets for slack slash ack without re-reading current official docs.
  • Shipping slack slash ack to production without a staging rehearsal and a documented rollback.

Related comparisons and tools