# Notion Integration via LowCodeAPI
**Last Updated**: February 10, 2026
## Overview
Productivity and note-taking
**Categories:**
- {'id': 'file-sharing-collaboration', 'name': 'File Sharing & Collaboration'}
## Base Endpoint
https://api.lowcodeapi.com/notion
**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`
## Authentication
**Type:** TOKEN
**Official Documentation:** https://developers.notion.com
## URL Format (Important)
LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.
### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`
### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`
### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider
## API Categories
## Common Endpoints
### Update page properties including cover and icon
**Method:** PATCH
**LowCodeAPI Path:** /v1/pages/{page_id}
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/pages/{page_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/pages/page_id?page_id={page_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| page_id | string | |
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| archived | boolean | |
| cover | json | |
| icon | json | |
| properties | json | |
**Example Request (New Format):**
```bash
curl -X PATCH 'https://api.lowcodeapi.com/notion/v1/pages/{page_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/patch-page
### Retrieve a page properties and other information
**Method:** GET
**LowCodeAPI Path:** /v1/pages/{page_id}
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/pages/{page_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/pages/page_id?page_id={page_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| page_id | string | |
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| filter_properties | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/notion/v1/pages/{page_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/retrieve-a-page
### Retrieve a page property item
**Method:** GET
**LowCodeAPI Path:** /v1/pages/{page_id}/properties/{property_id}
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/pages/{page_id}/properties/{property_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/pages/page_id/properties/property_id?page_id={page_id}&property_id={property_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| page_id | string | |
| property_id | string | |
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| page_size | number | |
| start_cursor | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/notion/v1/pages/{page_id}/properties/{property_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/retrieve-a-page-property
### Retrieve a block
**Method:** GET
**LowCodeAPI Path:** /v1/blocks/{block_id}
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/blocks/{block_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/blocks/block_id?block_id={block_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| block_id | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/notion/v1/blocks/{block_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/retrieve-a-block
### Update a block
**Method:** PATCH
**LowCodeAPI Path:** /v1/blocks/{block_id}
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/blocks/{block_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/blocks/block_id?block_id={block_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| block_id | string | |
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| archived | boolean | |
**Example Request (New Format):**
```bash
curl -X PATCH 'https://api.lowcodeapi.com/notion/v1/blocks/{block_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/update-a-block
### Create a new page inside page or a database
**Method:** POST
**LowCodeAPI Path:** /v1/pages
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/pages?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/pages?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| children | array | |
| cover | json | |
| icon | json | |
| parent | json | |
| properties | json | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/notion/v1/pages?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/post-page
### Retrieve database detail and it's properties
**Method:** GET
**LowCodeAPI Path:** /v1/databases/{database_id}
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/databases/{database_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/databases/database_id?database_id={database_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| database_id | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/notion/v1/databases/{database_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/retrieve-a-database
### Fetch rows of the Notion database using query
**Method:** POST
**LowCodeAPI Path:** /v1/databases/{database_id}/query
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/databases/{database_id}/query?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/databases/database_id/query?database_id={database_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| database_id | string | |
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| filter_properties | string | |
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| filter | json | |
| page_size | number | |
| sorts | array | |
| start_cursor | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/notion/v1/databases/{database_id}/query?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/post-database-query
### Update database details
**Method:** PATCH
**LowCodeAPI Path:** /v1/databases/{database_id}
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/databases/{database_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/databases/database_id?database_id={database_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| database_id | string | |
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| description | array | |
| properties | json | |
| title | array | |
**Example Request (New Format):**
```bash
curl -X PATCH 'https://api.lowcodeapi.com/notion/v1/databases/{database_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/update-a-database
### Create new database
**Method:** POST
**LowCodeAPI Path:** /v1/databases
**New Format URL:**
https://api.lowcodeapi.com/notion/v1/databases?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/notion/v1/databases?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| parent | json | |
| properties | json | |
| title | array | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/notion/v1/databases?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.notion.com/reference/create-a-database
## Usage Examples
### Example 1: Basic API Request (New Format)
Making a simple GET request to retrieve resources:
```bash
# Get a list of resources - no path parameters needed
curl -X GET "https://api.lowcodeapi.com/notion/endpoint?api_token=YOUR_API_TOKEN"
```
### Example 2: Request with Path Parameters (New Format)
Retrieving a specific resource using its ID:
```bash
# Get specific resource by ID - replace RESOURCE_ID with actual ID from previous response
curl -X GET "https://api.lowcodeapi.com/notion/endpoint/{RESOURCE_ID}?api_token=YOUR_API_TOKEN"
# Note: RESOURCE_ID typically comes from a previous list request or from the provider dashboard
```
### Example 3: POST Request with Body (New Format)
Creating a new resource:
```bash
# Create a new resource
curl -X POST "https://api.lowcodeapi.com/notion/endpoint?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"field": "value", "another_field": "another_value"}'
```
## Error Handling
LowCodeAPI returns standard HTTP status codes. Common errors:
| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |
All error responses include error details:
```json
{
"data": {
"error": {
"message": "Error description",
"code": "ERROR_CODE"
}
}
}
```
## Complete Endpoint Reference
| Endpoint | Method | Category |
|----------|--------|----------|
| Update page properties including cover and icon | PATCH | Pages |
| Retrieve a page properties and other information | GET | Pages |
| Retrieve a page property item | GET | Pages |
| Retrieve a block | GET | Blocks |
| Update a block | PATCH | Blocks |
| Create a new page inside page or a database | POST | Pages |
| Retrieve database detail and it's properties | GET | Database |
| Fetch rows of the Notion database using query | POST | Database |
| Update database details | PATCH | Database |
| Create new database | POST | Database |
| Retrieve block children | GET | Blocks |
| Append block children | PATCH | Blocks |
| Delete a block | DELETE | Blocks |
| Retrieve comments | GET | Comments |
| Create comment | POST | Comments |
| Search | POST | Search |
| Retrieve a user | GET | Users |
| List all users | GET | Users |
| Create a token | POST | Authentication |
| Fetch token user | GET | Users |
## API Definition Endpoints
You can fetch the complete API specification for this provider:
**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/notion/openapi'
```
**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/notion/definition'
```
## Response Format
All responses are wrapped in a `data` key:
```json
{
"data": {
// Actual response from provider (object or array)
}
}
```