properties object. This properties object is composed of individual data source property objects. These property objects define the data source schema and are rendered in the Notion UI as data columns.
Data source rowsIf you’re looking for information about how to use the API to work with data source rows, then refer to the page property values documentation. The API treats data source rows as pages.
| Field | Type | Description | Example value |
|---|---|---|---|
id | string | An identifier for 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". | "fy:{" |
name | string | The name of the property as it appears in Notion. | |
description | string | The description of a property as it appear in Notion. | |
type | string (enum) | The type that controls the behavior of the property. Possible values are: - "checkbox"- "created_by"- "created_time"- "date"- "email"- "files"- "formula"- "last_edited_by"- "last_edited_time"- "multi_select"- "number"- "people"- "phone_number"- "place"- "relation"- "rich_text"- "rollup"- "select"- "status"- "title"- "url" | "rich_text" |
type of the object, and the value is an object containing type-specific configuration. The following sections detail these type-specific objects along with example property objects for each type.
Checkbox
A checkbox data source property is rendered in the Notion UI as a column that contains checkboxes. Thecheckbox type object is empty; there is no additional property configuration.
Created by
A created by data source property is rendered in the Notion UI as a column that contains people mentions of each row’s author as values. Thecreated_by type object is empty. There is no additional property configuration.
Created time
A created time data source property is rendered in the Notion UI as a column that contains timestamps of when each row was created as values. Thecreated_time type object is empty. There is no additional property configuration.
Date
A date data source property is rendered in the Notion UI as a column that contains date values. Thedate type object is empty; there is no additional configuration.
email type object is empty. There is no additional property configuration.
Files
A files data source property is rendered in the Notion UI as a column that has values that are either files uploaded directly to Notion or external links to files. Thefiles type object is empty; there is no additional configuration.
Formula
A formula data source property is rendered in the Notion UI as a column that contains values derived from a provided expression. Theformula type object defines the expression in the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
expression | string | The formula that is used to compute the values for this property. Refer to the Notion help center for information about formula syntax. | {{notion:block_property:BtVS:00000000-0000-0000-0000-000000000000:8994905a-074a-415f-9bcf-d1f8b4fa38e4}}/2 |
Last edited by
A last edited by data source property is rendered in the Notion UI as a column that contains people mentions of the person who last edited each row as values. Thelast_edited_by type object is empty. There is no additional property configuration.
Last edited time
A last edited time data source property is rendered in the Notion UI as a column that contains timestamps of when each row was last edited as values. Thelast_edited_time type object is empty. There is no additional property configuration.
Multi-select
A multi-select data source property is rendered in the Notion UI as a column that contains values from a range of options. Each row can contain one or multiple options. Themulti_select type object includes an array of options objects. Each option object details settings for the option, indicating the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
color | string (enum) | The color of the option as rendered in the Notion UI. Possible values include: - blue- brown- default- gray- green- orange- pink- purple- red- yellow | "blue" |
id | string | An identifier for the option, which does not change if the name is changed. An id is sometimes, but not always, a UUID. | "ff8e9269-9579-47f7-8f6e-83a84716863c" |
name | string | The name of the option as it appears in Notion. Notes: Commas (”,”) are not valid for multi-select properties. Names MUST be unique across options, ignoring case. For example, you can’t have two options that are named "apple" and "APPLE". | "Fruit" |
Number
A number data source property is rendered in the Notion UI as a column that contains numeric values. Thenumber type object contains the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
format | string (enum) | The way that the number is displayed in Notion. Potential values include: - argentine_peso- baht- australian_dollar- canadian_dollar- chilean_peso- colombian_peso- danish_krone- dirham- dollar- euro- forint- franc- hong_kong_dollar- koruna- krona- leu- lira- mexican_peso- new_taiwan_dollar- new_zealand_dollar- norwegian_krone- number- number_with_commas- percent- philippine_peso- pound- peruvian_sol- rand- real- ringgit- riyal- ruble- rupee- rupiah- shekel- singapore_dollar- uruguayan_peso- yen, - yuan- won- zloty | "percent" |
People
A people data source property is rendered in the Notion UI as a column that contains people mentions. Thepeople type object is empty; there is no additional configuration.
Phone number
A phone number data source property is rendered in the Notion UI as a column that contains phone number values. Thephone_number type object is empty. There is no additional property configuration.
Place
A place data source property is rendered in the Notion UI as a column that contains location values. It can be used in conjunction with the Map view for displaying locations.| Field | Type | Description | Example value |
|---|---|---|---|
lat | number | The latitude. | 30.12 |
lon | number | The longitude. | -60.72 |
name | string | null | A name for the location. | "Notion HQ" |
address | string | null | An address for the location. | "" |
aws_place_id | string | null | The corresponding ID value from a location provider. Only exposed for duplication or echoing responses; will not be read. | "123" |
google_place_id | string | null | The corresponding ID value from a location provider. Only exposed for duplication or echoing responses; will not be read. | "123" |
Relation
A relation data source property is rendered in the Notion UI as column that contains relations, references to pages in another data source, as values. Therelation type object contains the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
data_source_id | string (UUID) | The data source that the relation property refers to. The corresponding linked page values must belong to the data source in order to be valid. | "668d797c-76fa-4934-9b05-ad288df2d136" |
synced_property_id | string | The id of the corresponding property that is updated in the related data source when this property is changed. | "fy:{" |
synced_property_name | string | The name of the corresponding property that is updated in the related data source when this property is changed. | "Ingredients" |
Database relations must be shared with your integrationTo retrieve properties from data source relations, the related database must be shared with your integration in addition to the database being retrieved. If the related database is not shared, properties based on relations will not be included in the API response.Similarly, to update a data source relation property via the API, share the related database with the integration.
Rich text
A rich text data source property is rendered in the Notion UI as a column that contains text values. Therich_text type object is empty; there is no additional configuration.
Rollup
A rollup data source property is rendered in the Notion UI as a column with values that are rollups, specific properties that are pulled from a related data source. Therollup type object contains the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
function | string (enum) | The function that computes the rollup value from the related pages. Possible values include: - average- checked- count_per_group- count- count_values- date_range- earliest_date- empty- latest_date- max- median- min- not_empty- percent_checked- percent_empty- percent_not_empty- percent_per_group- percent_unchecked- range- unchecked- unique- show_original- show_unique- sum | "sum" |
relation_property_id | string | The id of the related data source property that is rolled up. | "fy:{" |
relation_property_name | string | The name of the related data source property that is rolled up. | Tasks" |
rollup_property_id | string | The id of the rollup property. | "fy:{" |
rollup_property_name | string | The name of the rollup property. | "Days to complete" |
Select
A select data source property is rendered in the Notion UI as a column that contains values from a selection of options. Only one option is allowed per row. Theselect type object contains an array of objects representing the available options. Each option object includes the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
color | string (enum) | The color of the option as rendered in the Notion UI. Possible values include: - blue- brown- default- gray- green- orange- pink- purple- red- yellow | - "red" |
id | string | An identifier for the option. It doesn’t change if the name is changed. These are sometimes, but not always, UUIDs. | "ff8e9269-9579-47f7-8f6e-83a84716863c" |
name | string | The name of the option as it appears in the Notion UI. Notes: Commas (”,”) are not valid for select properties. Names MUST be unique across options, ignoring case. For example, you can’t have two options that are named "apple" and "APPLE". | "Fruit" |
Status
A status data source property is rendered in the Notion UI as a column that contains values from a list of status options. Thestatus type object includes an array of options objects and an array of groups objects.
The options array is a sorted list of list of the available status options for the property. Each option object in the array has the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
color | string (enum) | The color of the option as rendered in the Notion UI. Possible values include: - blue- brown- default- gray- green- orange- pink- purple- red- yellow | "green" |
id | string | An identifier for the option. The id does not change if the name is changed. It is sometimes, but not always, a UUID. | "ff8e9269-9579-47f7-8f6e-83a84716863c" |
name | string | The name of the option as it appears in the Notion UI. Notes: Commas (”,”) are not valid for select properties. Names MUST be unique across options, ignoring case. For example, you can’t have two options that are named "In progress" and "IN PROGRESS". | "In progress" |
groups array is a sorted list of the available groups for the property. Each group object in the array has the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
color | string (enum) | The color of the option as rendered in the Notion UI. Possible values include: - blue- brown- default- gray- green- orange- pink- purple- red- yellow | "purple" |
id | string | An identifier for the option. The id does not change if the name is changed. It is sometimes, but not always, a UUID. | "ff8e9269-9579-47f7-8f6e-83a84716863c" |
name | string | The name of the option as it appears in the Notion UI. Note: Commas (”,”) are not valid for status values. | "To do" |
option_ids | an array of strings (UUID) | A sorted list of ids of all of the options that belong to a group. | Refer to the example status object below. |
Title
A title data source property controls the title that appears at the top of a page when a data source row is opened. Thetitle type object itself is empty; there is no additional configuration.
Title data source property vs. data source titleA
title data source property is a type of column in a data source.A data source title defines the title of the data source and is found on the data source object.Every data source requires both a data source title and a title data source property. This ensures that we have both:- An overall title to display when viewing the database or data source in the Notion app
- A title property for each page under the data source, so page titles can be displayed in the Notion app
URL
A URL data source property is represented in the Notion UI as a column that contains URL values. Theurl type object is empty. There is no additional property configuration.
Unique ID
A unique ID data source property records values that are automatically incremented, and enforced to be unique across all pages in a data source. This can be useful for task or bug report IDs (e.g. TASK-1234), or other similar types of identifiers that must be unique. Theunique_id type object can contain an optional prefix attribute, which is a common prefix assigned to pages in the data source. When a prefix is set, a special URL (for example, notion.so/TASK-1234) is generated to be able to look up a page easily by the ID. Learn more in our help center documentation or Notion Academy lesson.