---
title: "Dispatch an inbound Slack DM turn to the Associate agent."
method: POST
path: "/api/slack/dispatch"
tags: ["slack"]
---

# Dispatch an inbound Slack DM turn to the Associate agent.

`POST /api/slack/dispatch`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/api/slack/dispatch`
- Auth: none declared. Required headers: `x-slack-dispatch-secret`

## Headers

- `x-slack-dispatch-secret` string, required

## Response `202`

Accepted; the agent run happens in the background.

## Other responses

- `401`: Unauthorized: missing/wrong secret.
- `503`: Misconfigured: SLACK_DISPATCH_SECRET is unset.

---

[API](https://skmtc.dev/opencase/apis/opencase-backend-api.md) · [All operations](https://skmtc.dev/opencase/apis/opencase-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/opencase/apis/opencase-backend-api/revisions/f16c77cfd9a8?raw)
