# Chat SDK now supports callback URLs on buttons and modals

DevFeed: [Chat SDK now supports callback URLs on buttons and modals](<https://devfeed.tech/articles/chat-sdk-now-supports-callback-urls-on-buttons-and-modals-854.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/chat-sdk-now-supports-callback-urls-on-buttons-and-modals>)

Author: Josh Singh

Published: 2026-05-20T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [SDKs](<https://devfeed.tech/topics/sdks.md>), [Slack](<https://devfeed.tech/topics/slack.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>)

Tags: [component](<https://devfeed.tech/tags/component.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [guide](<https://devfeed.tech/tags/guide.md>), [payload](<https://devfeed.tech/tags/payload.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [slack](<https://devfeed.tech/tags/slack.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

Chat SDK now supports callback URLs on buttons and modals, allowing Workflow runs to pause and resume after button clicks or form submissions. The callback endpoint receives the event or form payload, with support across platforms that have an official adapter and for modals on Slack and Teams.

## Source excerpt

You can now pause a Workflow run on a Chat SDK card and resume it when someone clicks a button. The same flow works for form submissions. Buttons and modals accept a new callbackUrl prop, and the event payload is sent to that endpoint. To build a card like this, create a workflow webhook and pass its URL to each button's callbackUrl prop inside your <Card> component: For the <Modal> component, the form data is in the payload. callbackUrl works for buttons on most platforms with an official adapter, and for modals on Slack and Teams. Read the documentation or walkthrough guide to start building. Read more