All property values
Each page property value object contains the following keys. In addition, it contains a key corresponding with the value oftype. The value is an object containing type-specific data. The type-specific data are described in the sections below.
| Property | Type | Description | Example value |
|---|---|---|---|
id | string | Underlying identifier for the property. This identifier is guaranteed to remain constant when the property name changes. It may be a UUID, but is often a short random string. The id may be used in place of name when creating or updating pages. | "f%5C%5C%3Ap" |
type (optional) | string (enum) | Type of the property. Possible values are "rich_text", "number", "select", "multi_select", "status", "date", "formula", "relation", "rollup", "title", "people", "files", "checkbox", "url", "email", "phone_number", "created_time", "created_by", "last_edited_time", and "last_edited_by". | "rich_text" |
Title property values
Title property value objects contain an array of rich text objects within thetitle property.
The Retrieve a page endpoint returns a maximum of 25 inline page or person references for a
title property. If a title property includes more than 25 references, then you can use the Retrieve a page property endpoint for the specific title property to get its complete list of references.Rich Text property values
Rich Text property value objects contain an array of rich text objects within therich_text property.
The Retrieve a page endpoint returns a maximum of 25 populated inline page or person references for a
rich_text property. If a rich_text property includes more than 25 references, then you can use the Retrieve a page property endpoint for the specific rich_text property to get its complete list of references.Number property values
Number property value objects contain a number within thenumber property.
Select property values
Select property value objects contain the following data within theselect property:
| Property | Type | Description | Example value |
|---|---|---|---|
id | string (UUIDv4) | ID of the option. When updating a select property, you can use either name or id. | "b3d773ca-b2c9-47d8-ae98-3c2ce3b2bffb" |
name | string | Name of the option as it appears in Notion. If the select database property does not yet have an option by that name, it will be added to the database schema if the integration also has write access to the parent database. Note: Commas (”,”) are not valid for select values. | "Fruit" |
color | string (enum) | Color of the option. Possible values are: "default", "gray", "brown", "red", "orange", "yellow", "green", "blue", "purple", "pink". Defaults to "default". Not currently editable. | "red" |
Status property values
Status property value objects contain the following data within thestatus property:
| Property | Type | Description | Example value |
|---|---|---|---|
id | string (UUIDv4) | ID of the option. | "b3d773ca-b2c9-47d8-ae98-3c2ce3b2bffb" |
name | string | Name of the option as it appears in Notion. | "In progress" |
color | string (enum) | Color of the option. Possible values are: "default", "gray", "brown", "red", "orange", "yellow", "green", "blue", "purple", "pink". Defaults to "default". Not currently editable. | "red" |
Multi-select property values
Multi-select property value objects contain an array of multi-select option values within themulti_select property.
Multi-select option values
| Property | Type | Description | Example value |
|---|---|---|---|
id | string (UUIDv4) | ID of the option. When updating a multi-select property, you can use either name or id. | "b3d773ca-b2c9-47d8-ae98-3c2ce3b2bffb" |
name | string | Name of the option as it appears in Notion. If the multi-select database property does not yet have an option by that name, it will be added to the database schema if the integration also has write access to the parent database. Note: Commas (”,”) are not valid for select values. | "Fruit" |
color | string (enum) | Color of the option. Possible values are: "default", "gray", "brown", "red", "orange", "yellow", "green", "blue", "purple", "pink". Defaults to "default". Not currently editable. | "red" |
Date property values
Date property value objects contain the following data within thedate property:
| Property | Type | Description | Example value |
|---|---|---|---|
start | string (ISO 8601 date and time) | An ISO 8601 format date, with optional time. | "2020-12-08T12:00:00Z" |
end | string (optional, ISO 8601 date and time) | An ISO 8601 formatted date, with optional time. Represents the end of a date range. If null, this property’s date value is not a range. | "2020-12-08T12:00:00Z" |
time_zone | string (optional, enum) | Time zone information for start and end. Possible values are extracted from the IANA database and they are based on the time zones from Moment.js.When time zone is provided, start and end should not have any UTC offset. In addition, when time zone is provided, start and end cannot be dates without time information. If null, time zone information will be contained in UTC offsets in start and end. | "America/Los_Angeles" |
Formula property values
Formula property value objects represent the result of evaluating a formula described in the database’s properties. These objects contain atype key and a key corresponding with the value of type. The value of a formula cannot be updated directly.
| Property | Type | Description |
|---|---|---|
type | string (enum) |
String formula property values
String formula property values contain an optional string within thestring property.
Number formula property values
Number formula property values contain an optional number within thenumber property.
Boolean formula property values
Boolean formula property values contain a boolean within theboolean property.
Date formula property values
Date formula property values contain an optional date property value within thedate property.
Relation property values
Relation property value objects contain an array of page references within therelation property. A page reference is an object with an id key and a string value (UUIDv4) corresponding to a page ID in another database.
A relation includes a has_more property in the Retrieve a page endpoint response object. The endpoint returns a maximum of 25 page references for a relation. If a relation has more than 25 references, then the has_more value for the relation in the response object is true. If a relation doesn’t exceed the limit, then has_more is false.
Note that updating a relation property value with an empty array will clear the list.
Rollup property values
Rollup property value objects represent the result of evaluating a rollup described in the database’s properties. These objects contain atype key and a key corresponding with the value of type. The value of a rollup cannot be updated directly.
String rollup property values
String rollup property values contain an optional string within thestring property.
Number rollup property values
Number rollup property values contain a number within thenumber property.
Date rollup property values
Date rollup property values contain a date property value within thedate property.
Array rollup property values
Array rollup property values contain an array ofnumber, date, or string objects within the results property.
People property values
People property value objects contain an array of user objects within thepeople property.
The Retrieve a page endpoint can’t be guaranteed to return more than 25 people per
people page property. If a people page property includes more than 25 people, then you can use the Retrieve a page property endpoint for the specific people property to get a complete list of people.Files property values
File property value objects contain an array of file references within thefiles property. A file reference is an object with a File Object and name property, with a string value corresponding to a filename of the original file upload (i.e. "Whole_Earth_Catalog.jpg").
When updating a file property, the value will be overwritten by the array of files passed.Although we do not support uploading files, if you pass a
file object containing a file hosted by Notion, it will remain one of the files. To remove any file, just do not pass it in the update response.Checkbox property values
Checkbox property value objects contain a boolean within thecheckbox property.
URL property values
URL property value objects contain a non-empty string within theurl property. The string describes a web address (i.e. "http://worrydream.com/EarlyHistoryOfSmalltalk/").
Email property values
Email property value objects contain a string within theemail property. The string describes an email address (i.e. "[email protected]").
Phone number property values
Phone number property value objects contain a string within thephone_number property. No structure is enforced.
Created time property values
Created time property value objects contain a string within thecreated_time property. The string contains the date and time when this page was created. It is formatted as an ISO 8601 date time string (i.e. "2020-03-17T19:10:04.968Z"). The value of created_time cannot be updated. See the Property Item Object to see how these values are returned.
Created by property values
Created by property value objects contain a user object within thecreated_by property. The user object describes the user who created this page. The value of created_by cannot be updated. See the Property Item Object to see how these values are returned.
Last edited time property values
Last edited time property value objects contain a string within thelast_edited_time property. The string contains the date and time when this page was last updated. It is formatted as an ISO 8601 date time string (i.e. "2020-03-17T19:10:04.968Z"). The value of last_edited_time cannot be updated. See the Property Item Object to see how these values are returned.
Last edited by property values
Last edited by property value objects contain a user object within thelast_edited_by property. The user object describes the user who last updated this page. The value of last_edited_by cannot be updated. See the Property Item Object to see how these values are returned.