UrlPropertySpec

Represents a URL property specification in a Notion database. This property allows users to store and link to external web addresses.

URL properties can contain any valid web address, including:

  • HTTP and HTTPS URLs

  • Relative URLs

  • Protocol-relative URLs

The URLs are automatically clickable in the Notion interface and can be used for filtering and sorting database views.

See also

Properties

Link copied to clipboard
abstract val id: String

The ID of the property, usually a short string of random letters and symbols. Some automatically generated property types have special human-readable IDs. For example, all Title properties have an ID of title.

Link copied to clipboard
abstract val name: String

The name of the property as it appears in Notion.