Notion
Create Notion View
Add a view to a Notion database — table, board, calendar, timeline, gallery, list, chart, map or form — with an optional filter, sorts and layout settings.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| databaseIdstring · required | string | required | Database the view belongs to. Select a database or insert its ID or URL. |
| dataSourceIdstring · optional | string | optional | Only needed when the database holds more than one data source. List Notion Data Sources names them. |
| namestring · required | string | required | Name shown on the database tab bar. |
| typestring · required | string | required | One of: Default: |
| filterobject · optional | object | optional | Same shape as a database query filter, e.g. {"property":"Status","status":{"does_not_equal":"Done"}}. |
| sortsobject · optional | object | optional | e.g. [{"property":"Due","direction":"ascending"}]. At most 100. |
| configurationobject · optional | object | optional | A Board needs group_by, e.g. {"group_by":{"type":"status","property_id":"<id>","group_by":"group"}}. A Calendar or Timeline needs date_property_id. Get Notion Database shows property IDs. |
Response schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"object": {
"type": "string"
},
"data_source_id": {
"type": "string"
}
}
}