Skip to main content
A Link Preview is a real-time excerpt of authenticated content that unfurls in Notion when an authenticated user shares an enabled link. The display of a Link Preview can include structured content and rich media from the source service. Custom Link Preview connections are no longer available for new developers to create. Existing supported Link Preview integrations continue to work for Notion users. Link Previews can be displayed in their full format, or they can be shown as a “Mention”. Let’s first look at an example of a full-format Link Preview:

Example Link Preview in a Notion workspace

Here is the same link again but now as a Mention — a miniature version of a Link Preview that uses the same data.

Example Mention in a Notion workspace

A Link Preview or Mention displays data that is sent to Notion as an array of unfurl attribute objects. There are a number of optional attributes. However, every array must contain a title attribute and a dev attribute. Using the same Link Preview and Mention we saw above, let’s look at the array of unfurl attribute objects that would render these previews. The following payload represents the example Link Preview and Mention above:
Each unfurl attribute object in this array maps to a different customizable section of a Link Preview. (To learn more about each section, jump to The section value.

Anatomy of a Link Preview in Notion

First, let’s let at the properties in each individual unfurl attribute object.

The unfurl attribute object

Each unfurl attribute object contains the following values:

Inline sub-type objects

The key of inline sub-type objects represents the kind of sub-type. The values of the key are the value to display and the section of the Link Preview where the value is rendered.

The dev attribute

Every array of attribute objects that is sent to Notion to render a Link Preview must also include a dev attribute. The attribute indicates the service or company associated with the Link Preview. It takes the following format:

Embed sub-type child objects

The embed sub-type object adds rich content like JPGs, GIFs, or iFrames to a Link Preview.

An example Link Preview that embeds an image of Kermit the Frog

All embed sub-type objects contain: a src_url field that is a link to the embed, and an object whose key is the sub-type of the embed and whose value is an object indicating the section of the Link Preview where the value is rendered.
There’s no need to ask a user to log in to the source service in an iFrame embed. If they’re using a Link Preview, then they’ve already authenticated.

The section value

The section value of an unfurl attribute object defines where an attribute is rendered in the Link Preview or Mention.

The sections of a Link Preview


The sections of a Mention

A section is specified in the sub-type object for the attribute. Refer to the table below for details about each section and its valid parent sub-types.