# slack

Endpoint: POST /api/actions/{id}/slack
Version: 1.0.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    http TD1

## Path parameters:

  - `id` (string, required)

## Request fields (application/x-www-form-urlencoded):

  - `response_url` (string, required)
    Slack response URL for posting delayed responses

  - `text` (string, required)
    User input text from Slack command

  - `command` (string, required)
    The Slack slash command that triggered this action

## Response 200:

  - `200` (unknown)
    Slack response containing either empty text for ephemeral mode or JSON for in-channel mode

## Response 200 fields (application/json):

  - `response_type` (string, required)
    Type of Slack response
    Enum: "in_channel"

  - `text` (string, required)
    Response text (typically empty)

## Response 401:

  - `401` (unknown)
    Unauthorized - invalid timestamp or signature

## Response 401 fields (application/json):

  - `status` (string, required)

  - `error` (string, required)

## Response 404:

  - `404` (unknown)
    Not Found - integration type is not slack or action not found

## Response 404 fields (application/json):

  - `status` (string, required)

  - `error` (string, required)

## Response 429:

  - `429` (unknown)
    Too Many Requests - rate limit exceeded

## Response 429 fields (application/json):

  - `status` (string, required)

  - `error` (string, required)

## Response 429 headers (application/json):

  - `retry-after` (integer)
    Number of seconds to wait before retrying

