---
title: "Slack Slash Command"
method: POST
path: "/slack/slash-command"
tags: ["Slack"]
---

# Slack Slash Command

`POST /slack/slash-command`

## Request

- Base URL: `https://backend.ressl.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.ressl.ai/slack/slash-command`
- Auth: none declared

Handle Slack slash commands.

Slash commands send form data directly with fields like:
- command: The command that was typed (e.g., "/addlog")
- text: Any text after the command
- team_id: The Slack team ID
- user_id: The user who invoked the command
- channel_id: The channel where the command was invoked
- trigger_id: Used for opening modals (valid for 3 seconds)

## Headers

- `x-slack-signature` string, nullable
- `x-slack-request-timestamp` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ressl/apis/ressl-api.md) - [All operations](https://skmtc.dev/ressl/apis/ressl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ressl/apis/ressl-api/revisions/51e8b599d597?raw)
