---
title: "Execute Slack webhook"
method: POST
path: "/webhooks/{webhook_id}/{token}/slack"
tags: ["Webhooks"]
---

# Execute Slack webhook

`POST /webhooks/{webhook_id}/{token}/slack`

Receives and processes Slack-formatted webhook payloads, converting them to messages in the configured channel. Returns "ok" as plain text with a 200 status code.

## Path parameters

- `webhook_id` string, snowflake, required
- `token` string, required

## Request body

- SlackWebhookRequest
  - `text` string — Main text content of the message
  - `username` string — Override the default username of the webhook
  - `icon_url` string — Override the default icon of the webhook
  - `attachments` object[] — Array of attachment objects
    - `fallback` string — Fallback text for notifications
    - `pretext` string — Text that appears above the attachment block
    - `text` string — Main text content of the attachment
    - `color` string — Colour of the attachment sidebar (hex code or preset)
    - `title` string — Title of the attachment
    - `title_link` string — URL to link from the title
    - `fields` object[] — Array of field objects
      - `title` string — Title of the field
      - `value` string — Value of the field
      - `short` boolean — Whether the field should be displayed as a short column
    - `footer` string — Footer text displayed at the bottom
    - `ts` integer — Unix timestamp for the attachment footer
    - `author_name` string — Name of the author
    - `author_link` string — URL to link from the author name
    - `author_icon` string — URL for the author icon image
    - `image_url` string — URL of the main image to display
    - `thumb_url` string — URL of a thumbnail image

## Response `200`

Success

- string

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluxer/fluxer-api/revisions/d9c706133cc5/schema)
