---
title: "Select Data Source"
method: POST
path: "/integrations/notion/data-source"
tags: ["integrations"]
---

# Select Data Source

`POST /integrations/notion/data-source`

## 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/data-source`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

## Query parameters

- `org_id` string, uuid, nullable

## Request body

- SelectDataSourceRequest
  - `data_source_id` string, required
  - `data_source_name` 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)
