Skip to navigation

List databases (deprecated)

Search pages for more details

This endpoint is deprecated and is only available on API version “2021-08-16” and earlier. Use the Search API instead. This endpoint will only return explicitly shared databases, while search will also return child pages. This endpoint’s results cannot be filtered, while search can be used to match on page title.

List all Databases shared with the authenticated integration. The response may contain fewer than page_size of results.

Database access

Integrations can only access databases a user has shared with the integration.

See Pagination for details about how to use a cursor to iterate through the list.

Integration capabilities

This endpoint requires an integration to have read content capabilities. Attempting to call this API without read content capabilities will return an HTTP response with a 403 status code. For more information on integration capabilities, see the capabilities guide.

Errors

Returns a 429 HTTP response if the request exceeds the request limits.

Headers

Notion-VersionstringRequiredDefaults to 2021-08-16

Query parameters

start_cursorstringOptional
If supplied, this endpoint will return a page of results starting after the cursor provided. If not supplied, this endpoint will return the first page of results.
page_sizeintegerOptionalDefaults to 100

The number of items from the full list desired in the response. Maximum: 100

Response

200
objectstringOptional
resultslist of objectsOptional
next_cursoranyOptional
has_morebooleanOptionalDefaults to true

Errors

400
Bad Request Error