POST /v1/databases

Create a database

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
parent Object Yes
parent.type String Yes

Valid values:

  • "page_id"
parent.page_id String Yes
properties Object Yes

Property schema of database. The keys are the names of properties as they appear in Notion and the values are property schema objects.

title[] Array No
title[].text Object Yes
title[].text.content String Yes
title[].text.link Object No
title[].text.link.url String Yes
title[].type String No

Valid values:

  • "text"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.