Skip to main content

Unfurl a link

POST 

/chat.unfurl

Attach app-provided preview cards to links in an existing text message. Every map key must be an exact URL currently present in the message and must match one of the app's registered unfurl domains. Validation is atomic: if any entry is invalid, no previews are changed.

App previews replace Roam-generated previews for the same exact URL while preserving unrelated previews. The server does not fetch any URL supplied in this request.

Access: Organization only (API Key or OAuth). Register unfurl domains on the API client first โ€” see Unfurling links. Personal Access Tokens cannot register domains or call this endpoint.

Required scope: links:write

Requestโ€‹

Responsesโ€‹

Preview cards applied successfully.