getDatabaseList

abstract suspend fun getDatabaseList(pagination: Pagination = Pagination()): ResultPage<Database>

Lists all databases that have been shared with your integration. This method returns a paginated list of databases that your integration has access to.

Return

A ResultPage containing a list of Database objects and pagination information

Parameters

pagination

Optional pagination parameters to control the number of results

See also

Throws

NotionApiException

if the API request fails