---
title: "Create Database"
method: POST
path: "/integrations/notion/create-database"
tags: ["integrations"]
---

# Create Database

`POST /integrations/notion/create-database`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/integrations/notion/create-database`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

## Query parameters

- `org_id` string, uuid, nullable

## Request body

- CreateDatabaseRequest
  - `page_id` string, required
  - `title` string, required

## Response `200`

Successful Response

- NotionStatusResponse
  - `connected` boolean, required
  - `workspace_name` string, nullable
  - `workspace_icon` string, nullable
  - `data_source_id` string, nullable
  - `data_source_name` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
