Chat Unfurl
Provide custom unfurl behavior for user-posted URLs
Authorization
slackAuth links:writeIn: header
Scope: links:write
Header Parameters
Authentication token. Requires scope: links:write
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
Channel ID of the message
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.
Response Body
application/json
application/json
curl -X POST "https://example.com/chat.unfurl" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'channel=string&ts=string'{ "ok": "True"}
