v1

latestOpenAPI 3.1.02026-07-2664485505.4 KB
Data sources

Create a data source

post/v1/data_sources

Headers

Notion-Version'2026-03-11' required

The API version to use for this request. The latest version is 2026-03-11.

Request body

propertiesobject required

Property schema of data source.

Example request

{
  "title": [
    {
      "text": {
        "link": {
          "url": "https://www.notion.com"
        }
      }
    }
  ],
  "icon": {
    "icon": {
      "name": "pizza"
    }
  }
}

Response

OR

Example response

{
  "title": [
    {
      "text": {
        "link": {
          "url": "https://www.notion.com"
        }
      }
    }
  ],
  "description": [
    {
      "text": {
        "link": {
          "url": "https://www.notion.com"
        }
      }
    }
  ],
  "icon": {
    "icon": {
      "name": "pizza"
    }
  }
}