r/NotionAPI • • Apr 25 '24

Embracing the art of scheduling with my weekly planner! 48 hour Giveaway!

Thumbnail
gallery
2 Upvotes

r/NotionAPI • • Jun 14 '23

Notion API Limits

2 Upvotes

Hey everyone, I ran into a problem with the Notion API. I'm trying to create more than 100 child blocks in a single request but it's not allowing me. The error I'm getting is:

APIResponseError body failed validation. Fix one: body.children.length should be ≤ 100, instead was 149. body.parent.page_id should be defined, instead was undefined. ...

Has anyone encountered this and found a workaround?


r/NotionAPI • • May 25 '23

Rendering Notion API response in React Native

2 Upvotes

Hi Notion API folks! I’m building a mobile app to view my Notion pages offline. I'm looking for a simple way to render the JSON response, does anyone know if there's a React Native package to do so?

So far, I’ve got a basic React Native app that fetches page content from Notion’s API via a Notion integration. I think my next step is to render the JSON. Here's a Github package for rendering in React (9gustin/react-notion-render). If I can't find something, my plan was to look for React Native markdown package, or to take the styles from this and change it to mobile components. Thoughts?

Also open to pointers in general, since I'm a bit more familiar with web development than mobile!

Why I'm building this - I store lists and important info in Notion, but when I need it most, it’s unavailable. Doesn't look like the Notion team is releasing offline support anytime soon, so thought I'd build this for myself and the community


r/NotionAPI • • May 05 '23

Checkout this Form Builder for Notion Database - Create stunning form inside Notion

2 Upvotes

Have been working on Form builder for Notion (Create Form from Notion Database) , which can be embedded inside Notion Page or in any website. The response gets saved directly inside Notion Workspace.

- Focus on better UI/ UX
- Flexible pricing model
- Can work with Notion Template (separate form will be created)

Please check and provide feedback (https://www.orchid.so/ )
Thanks for reading!


r/NotionAPI • • Oct 16 '26

How to update already installed Android system web view

Post image
1 Upvotes

r/NotionAPI • • Sep 24 '26

My Notion PVP habit tracker!

1 Upvotes

r/NotionAPI • • Aug 18 '26

What is the monthly allowance for regular Notion AI (not Custom Agents)?

Thumbnail reddit.com
1 Upvotes

r/NotionAPI • • Aug 12 '26

Does Notion Sites support custom URL redirects for specific paths on a custom domain?

1 Upvotes

Hi,

We are building a public integration for Notion Sites and need to verify whether Notion supports creating a custom URL redirect for a specific path.

Our requirement is:

Source URL:

https://example.com/inow_4057848932441f5f30521f45400164ad.txt

Redirect to:

https://yourdomain.com/inow_4057848932441f5f30521f45400164ad.txt

The destination file returns:

4057848932441f5f30521f45400164ad

We would like to know:

  • Can a path-specific redirect like this be configured directly in Notion Sites?

  • Is there a Notion API endpoint for creating URL redirects?

  • Can this be configured manually in the Notion Sites settings?

  • If the site uses a custom domain connected to Notion, does Notion provide any redirect-rule functionality?

  • If Notion does not support this, is the recommended solution to configure the redirect at the domain/DNS/CDN provider such as Cloudflare?

  • Is there any alternative way to serve a .txt file at the root of a Notion Site custom domain?

The important requirement is that requesting:

https://example.com/inow_4057848932441f5f30521f45400164ad.txt

must either return the TXT content directly or redirect to the hosted TXT file.

Thanks!


r/NotionAPI • • Aug 12 '26

Is it possible to add custom HTML, JavaScript, or code to a Notion Site?

1 Upvotes

Hi,

I’m building a public Notion integration and would like to know whether Notion Sites support adding custom code.

Specifically, is there any supported way, either manually in the Notion UI or through the Notion API, to add:

  • Custom HTML

  • JavaScript

  • CSS

  • <meta> tags in the <head>

  • Verification tags/scripts

  • Custom code that runs on a published Notion Site

If this is not currently supported, is there a recommended alternative for integrations that need to add verification code or other site-level custom code?

Also, is this capability planned for the Notion API or Notion Sites in the future?

Thanks!


r/NotionAPI • • Jul 17 '26

How are you sharing Notion with clients in 2026 without guest headaches?

Thumbnail reddit.com
1 Upvotes

r/NotionAPI • • Mar 09 '26

Has anyone built a good Fathom integration with Notion?

Thumbnail reddit.com
1 Upvotes

r/NotionAPI • • Mar 02 '26

Notification for all/any changes to a workspace, or even specific page (+children)

Thumbnail reddit.com
1 Upvotes

r/NotionAPI • • Feb 27 '26

Notion Custom Agent Platform

Thumbnail reddit.com
1 Upvotes

r/NotionAPI • • Feb 09 '26

Shock Clock 3 or Pavlok 3 — which should I buy for API integration with Notion & GeminiAPI?

Thumbnail reddit.com
1 Upvotes

r/NotionAPI • • Jan 14 '26

Looking for 10 People to Test this in Exchange for Honest Feedback

Thumbnail
reddit.com
1 Upvotes

r/NotionAPI • • Jan 11 '26

Power BI Notion BD Connector

1 Upvotes

I just created a PowerBI Notion DB custom connector. You can get package and source code from github link below. Your comments and suggestion are welcome.

----------------------------------

Github: bluefoam/PowerBI_NotionConnector: 为 Power BI 打造的高性能 Notion DB自定义连接器; A Notion DB Connector for Power BI. -- Created with love for Power BI & Notion users.

NotionConnector.mez 


r/NotionAPI • • Jan 09 '26

Issue with external file upload

1 Upvotes

The following is Python code (I've also tested this using `curl`):

r = requests.post(
    "https://api.notion.com/v1/file_uploads",
    headers=headers,
    json={
        "mode": "external_url",
        "external_url": "https://video.ftpa1-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQPImbBLE0ngu0swLQFwm-AVzcjUYMfE0EjguSZqn1ZyASZUolYq8r-OzyFTfoJPvdmr7N0XZBZ9RRzlnaiFNmx4SWp2au4MLiUp2EU.mp4?_nc_cat=108&_nc_oc=AdkNOaWKUrDFA-b9wlg8qFRWThFxwkMls0CURC8p4Ny-WfLRZp9pM7IJ_m2K6V4X7CiX2IQaQ-rT9NrrBghPoxdS&_nc_sid=5e9851&_nc_ht=video.ftpa1-1.fna.fbcdn.net&_nc_ohc=QYf0PFVs2pgQ7kNvwHRb-0_&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5GQUNFQk9PSy4uQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6ODY2NzgwNDEyOTAyNzc5LCJhc3NldF9hZ2VfZGF5cyI6MiwidmlfdXNlY2FzZV9pZCI6MTAwOTksImR1cmF0aW9uX3MiOjc3LCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&vs=299f7d5e5010331&_nc_vs=HBkcFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC85NzQ0QTI1N0EwRjQ2NTAyMjg2NDU0RjVCMERFNTBCRl92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAKAAYABsCiAd1c2Vfb2lsATEScHJvZ3Jlc3NpdmVfcmVjaXBlATEVAAAm9vXfqaGVigMVAigCQzMsF0BTUzMzMzMzGBJkYXNoX2Jhc2VsaW5lXzFfdjERAHUCZeadAQA&_nc_gid=CY83uL9rd_kaBVzlEeT2cw&edm=ACwmWnUEAAAA&_nc_zt=28&_nc_tpa=Q5bMBQGlEa-Ietotkee-7bDqvHi1l_sT0nGqd0nB1BU-65ZVphfd9HLobEgM3-nnmQ98qM0PpIWzJiph&oh=00_AfpMuo1Y1SW82nsSu5r40yWn3-5LAQJp7Zh3h_4lgkUTZQ&oe=69637CE9&bitrate=0&tag=dash_baseline_1_v1",
        "filename": "AQPImbBLE0ngu0swLQFwm-AVzcjUYMfE0EjguSZqn1ZyASZUolYq8r-OzyFTfoJPvdmr7N0XZBZ9RRzlnaiFNmx4SWp2au4MLiUp2EU.mp4"
    }
).json()

The Notion API returns:

{'object': 'error',
 'status': 400,
 'code': 'validation_error',
 'message': "Failed to fetch the headers of the external URL. Ensure it's a valid, publicly accessible URL and try again.",
 'request_id': 'd2aedbed-45a4-4a4f-88e8-8acdec537237'}

I have verified that the file is indeed publicly accessible and does indeed return headers, including the Content-Type and Content-Length headers that the Notion API is looking for:

{'Content-Type': 'video/mp4', 'x-fb-vts-requestid': '6345F396FB4032C', 'cross-origin-resource-policy': 'cross-origin', 'timing-allow-origin': '*', 'Access-Control-Allow-Origin': '*', 'Accept-Ranges': 'bytes', 'X-FB-Connection-Quality': 'EXCELLENT; q=0.9, rtt=16, rtx=0, c=14, mss=1380, tbw=4465, tp=-1, tpl=-1, uplat=0, ullat=-1', 'Date': 'Fri, 09 Jan 2026 22:53:13 GMT', 'Cache-Control': 'max-age=1209600, no-transform', 'Alt-Svc': 'h3=":443"; ma=86400', 'No-Vary-Search': 'key-order, params=("_nc_gid" "oh" "oe" "_nc_oc" "_nc_ohc" "_nc_cat" "_nc_ht" "_nc_cb")', 'Connection': 'keep-alive', 'Content-Length': '16364563'}

r/NotionAPI • • Aug 20 '25

Notion Integration Token in ChatGPT Custom GPTs

Post image
1 Upvotes

Hey all!

I'm having a persistent issue with the Notion API in ChatGPT custom GPTs.

Notion recently added the "Access" feature to quickly add/remove access to specific databases in your workspace that are using the integration token. I've found that this feature still has some issues.

  1. Once databases are connected, they don't always show persistently. Some times it takes a page refresh to display the database connections. Or, I need to re-add the databases manually for the connections to show. Even when the integrations are displayed as Active connections in the specific database(s).

  2. When using the integration token for ChatGPT custom GPTs, I’m able to GET, QUERY and SEARCH databases. And I’m able to see the database information fine. But when I attempt to create or update pages (POST or PATCH) I am not able to see these entries in my database(s). But I am able to verify they are there. It’s like API entries exist but do not display in the database UI view. And UI entries display but are sometimes invisible to API queries. This behavior persists across both the original and duplicated databases. No filters, sorts, or archived toggles are applied. And integration has confirmed full access permissions.

I know this is a new feature but it’s been driving me up the wall for the past few days. I just need to know I’m not the only one having this issue. And if there is a possible fix that can be applied.

I haven’t yet contacted Notion Support. Figured I check-in with y’all first.

Any feedback helps.

Thanks!


r/NotionAPI • • Jul 10 '25

API paging question

1 Upvotes

Hi guys.

I face pretty weird issue. Here are some details.

I'm trying to request a content of database from Notion. This is a pretty huge page, so I discovered about paging. If I understand correct - I should be able to see a next part of this page by just the same request, but with "next_cursor" in data.

So, here is a piece of my code:

headers = {
    "Authorization": auth_string,
    "Notion-Version": "2022-06-28",
    "Content-Type": "application/json"
}

responce = requests.post("https://api.notion.com/v1/databases/mydb/query", headers=headers)
if responce.status_code == 200:
    print(f"next cursor: {responce.json()["next_cursor"]}")
    print(f"has more: {responce.json()["has_more"]}")

    cursor = responce.json()["next_cursor"]
    data = {
        "start_cursor": cursor
    }
    responce = requests.post("https://api.notion.com/v1/databases/mydb/query", headers=headers, data=data)
    responce_message = json.dumps(responce.json(), indent=2)
    print(responce_message)

And here is an output:


next cursor: 96d92efa-948d-44c1-aa7b-e609979d5726
has more: True
{
  "object": "error",
  "status": 400,
  "code": "invalid_json",
  "message": "Error parsing JSON body."
}

Do I understand something wrong? Why does it shows that I have incorrect json?


r/NotionAPI • • Jul 08 '25

How do I make my Board View cards display horizontally like in this template?

1 Upvotes

Hi! I'm trying to recreate the layout of a "Gamified Quest-Center" Notion template (first image). In the reference, the board view has four columns—"Today," "In Progress," "Overdue" and "Inbox"—but instead of the tasks stacking vertically within each column, they are displayed horizontally across the page.

I’ve tried using Board View grouped by Status, but the cards always stack vertically inside each column (second image).

Is there a way to make:

  • Cards appear horizontally per status (like a row),

  • Keep the ability to drag tasks between statuses (e.g., To Do → In Progress),

  • And still preserve a layout that looks like the reference image?

I'm using the web version of Notion on desktop.

I'm trying to replicate this template I found online. I'm not trying to replicate it entirely, just a couple sections I thought looked pretty cool. It is a payed template which is why I'm not using it in the first place.

Thanks so much in advance!


r/NotionAPI • • Jun 22 '25

Bad Api

1 Upvotes

Hi guys, do you guys also run into a ton of problems with the notion api? I just can't seem to make it work. Always bugging and auth issues.


r/NotionAPI • • May 27 '25

Notion API keeps giving me 404 error even though my integration is connected

1 Upvotes

Hi everyone, I’m trying to use the Notion API with Python to query a database, but I keep getting this error:

❌ Failed to retrieve data: 404 {"object":"error","status":404,"code":"object_not_found","message":"Could not find database with ID: [database_id]. Make sure the relevant pages and databases are shared with your integration."}

Here’s what I’ve done:

I created a Notion integration and copied the internal integration token.

I created a database in Notion and copied the ID from the URL like this: https://www.notion.so/[title]-1f2807a5157e8094bf1ee5d34275705a → So the database ID I used was 1f2807a5157e8094bf1ee5d34275705a

I opened the database as a full page and clicked “Share”.

I tried inviting the integration from the “Connections” menu but only saw an email input field, no option to invite integrations.

In my Notion workspace settings under Settings & Members > Connections, it shows my integration is connected to the page.

I’m using Python 3.13 and the requests module.

My code uses https://api.notion.com/v1/databases/[DATABASE_ID]/query

Still, I get this error.

Has anyone else dealt with this? Is there something I'm missing with the new Notion UI? I'm stuck and would really appreciate help.

Thanks in advance!


r/NotionAPI • • Apr 11 '25

Notion-Evernote Enterprise API Integration doesn't work. Anyone else have this problem?

1 Upvotes

We signed up for an enterprise account with Notion, predicated upon the fact that there is a seamless way to migrate notes from Evernote. Some of our users have tens of thousands of Evernote notes, so this was really important.

During the trial period, we tested the integration through an Evernote personal account (instead of a business on). The API connector for pulling notes from an Evernote personal account to our Notion enterprise account worked. The sales people assured us that the process would be seamless.

However, when one tries to import notes from an Evernote enterprise account, the connector fails. The workflow redirects to Evernote to authorize Notion to pull notes.

Once Evernote is authorized to pull Notes from Notion, Notion displays a spinning wheel next to the native Evernote importer, which keeps spinning indefinitely.

We then started talking to other firms who experienced a similar problem. Apparently this connector has never worked, and the only way to migrate notes from Evernote to Notion is to do so manually, which we tried through a script we found on Github. Unfortunately, while we can successful export notes from Evernote, the import to Notion is problematic and fails as soon as the note contains any kind of media, like a screenshot.

The Notion support team has been beyond useless. We were connected to engineers in India that clearly had no idea what was going on. Instead, they keep blaming Evernote for the failure of their connector, say that they cannot replicate the issue, and that they haven't heard this problem from other enterprise clients.

Anyone else having this problem?


r/NotionAPI • • Feb 06 '25

There is a way to create a single page for Clients to see and interact with, without passing trought notion?

1 Upvotes

Okay, lemme explain, i don't know if it's related with this reddit, i hope so, btw
what i mean with that is, a way to create personal pages for every client, that they can see and interact with, but that is not directly in notion, cause if they access directly from notion, they will need to create a new notion account just to see the page, and with a chance that someone can see pages that is not supposed to.
So what i'm asking, it's if someone knows a way to create this pages that only specific clients can see, trought third-part sites, but still be able to have all the info into notion.

Sorry for my bad english, best regards, thanks in advance!


r/NotionAPI • • Jan 01 '25

Teamspaces in Notion API?

1 Upvotes

Hi

I am creating a Notion integration and I need information about the teamspaces (id, name, etc.), and also which teamspace each page/database belongs to. Is there a way to get this data from the api?

I didn't find any endpoint which refers to teamspaces. The parent of the first pages/databases in the hierarchy is the workspace.

Thanks