provider chat POST /chat.unfurl
@utdk/slack /chat.unfurl
chat_unfurl
Provide custom unfurl behavior for user-posted URLs
token header required
Authentication token. Requires scope: `links:write`
string

Try it

Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

chatUnfurl
POST/chat.unfurl
Provide custom unfurl behavior for user-posted URLs

Input

required

Channel ID of the message

required

Timestamp of the message to add unfurl behavior to.

URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments.

Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior

Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain

Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.chatUnfurl()