---
title: "Slack Webhook"
method: POST
path: "/api/webhooks/slack"
---

# Slack Webhook

`POST /api/webhooks/slack`

Handle Slack Events API callbacks for support chat replies.

Flow:
- url_verification: return the challenge (one-time Slack app setup)
- message event in a thread:
    * Find the support session by slack_thread_ts
    * Persist the admin reply as a SupportChatMessage
    * If session is open → push via Socket.IO
    * If session is closed → send email via Resend

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
