Slack

SLACKBOT_CUSTOMIZE_URL_UNFURL

Customizes URL previews (unfurling) in a specific Slack message using a URL-encoded JSON in `unfurls` to define custom content or remove existing previews.

Remote slackbot

Other tools also called SLACKBOT_CUSTOMIZE_URL_UNFURL? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "ts": {
      "type": "string",
      "title": "Ts",
      "examples": [
        "1234567890.123456"
      ],
      "description": "Timestamp of the message to customize URL unfurling for."
    },
    "channel": {
      "type": "string",
      "title": "Channel",
      "examples": [
        "C1234567890",
        "general"
      ],
      "description": "Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name."
    },
    "unfurls": {
      "type": "string",
      "title": "Unfurls",
      "examples": [
        "%7B%22https%3A%2F%2Fexample.com%2Farticle%22%3A%7B%22text%22%3A%22Article%20Preview%22%7D%7D"
      ],
      "description": "URL-encoded JSON mapping message URLs to custom unfurl content (Slack attachment format or unfurl blocks). To remove an existing unfurl, provide an empty unfurl block for its URL."
    },
    "user_auth_url": {
      "type": "string",
      "title": "User Auth Url",
      "examples": [
        "https://yourapp.com/slack/auth?user_id=U123&channel_id=C123"
      ],
      "description": "URL-encoded custom URL for user authentication with your app to enable unfurling. Used when `user_auth_required` is true."
    },
    "user_auth_message": {
      "type": "string",
      "title": "User Auth Message",
      "examples": [
        "Please authenticate with MyApp to see rich previews for example.com."
      ],
      "description": "Ephemeral message text prompting user authentication with your app for domain-specific unfurling. Used when `user_auth_required` is true and authorization is pending."
    },
    "user_auth_required": {
      "type": "boolean",
      "title": "User Auth Required",
      "examples": [
        true,
        false
      ],
      "description": "Set to `true` if user authentication is required to unfurl links for a domain, enabling an authentication flow using `user_auth_url` and `user_auth_message`."
    }
  }
}
          

Provider

Slack →