Skip to main content
POST
/
webhooks
/
{webhook_id}
/
{token}
/
slack
Execute Slack webhook
curl --request POST \
  --url https://api.fluxer.app/v1/webhooks/{webhook_id}/{token}/slack \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "username": "<string>",
  "icon_url": "<string>",
  "attachments": [
    {
      "fallback": "<string>",
      "pretext": "<string>",
      "text": "<string>",
      "color": "<string>",
      "title": "<string>",
      "title_link": "<string>",
      "fields": [
        {
          "title": "<string>",
          "value": "<string>",
          "short": true
        }
      ],
      "footer": "<string>",
      "ts": 4503599627370495,
      "author_name": "<string>",
      "author_link": "<string>",
      "author_icon": "<string>",
      "image_url": "<string>",
      "thumb_url": "<string>"
    }
  ]
}
'
"<string>"

Path Parameters

webhook_id
string<snowflake>
required

The ID of the webhook

token
string
required

The token

Body

application/json
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

Response

Success

The response is of type string.