TypeScript SDK
Databases (deprecated)
Create a database
POST
TypeScript SDK
Documentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
Deprecated as of version 2025-09-03This page describes the API for versions up to and including
2022-06-28. In the new 2025-09-03 version, the concepts of databases and data sources were split up, as described in Upgrading to 2025-09-03.Refer to the new APIs instead:properties schema. Currently, the parent of a new database must be a Notion page or a wiki database.
Connection capabilitiesThis endpoint requires a connection to have insert content capabilities. Attempting to call this API without insert content capabilities will return an HTTP response with a 403 status code. For more information on connection capabilities, see the capabilities guide.
Errors
Returns a 404 if the specified parent page does not exist, or if the connection does not have access to the parent page. Returns a 400 if the request is incorrectly formatted, or a 429 HTTP response if the request exceeds the request limits. Note: Each Public API endpoint can return several possible error codes. See the Error codes section of the Status codes documentation for more information.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The API version to use for this request. The latest version is 2026-03-11.
Available options:
2026-03-11 Body
application/json
The parent page or workspace where the database will be created.
- Page Id
- Workspace
The title of the database.
Maximum array length:
100- Text
- Mention
- Equation
The description of the database.
Maximum array length:
100- Text
- Mention
- Equation
Whether the database should be displayed inline in the parent page. Defaults to false.
Initial data source configuration for the database.
The icon for the database.
- File Upload
- Emoji
- External
- Custom Emoji
- Icon
The cover image for the database.
- File Upload
- External