Questions tagged [notion]

97 questions
4
votes
3 answers

Can i get notion page content using notion api?

I'm planning to make some blog using notion api. I would like to use the notion api to bring the notion page markdown and show on my blog. But, I can't find to get page content.. Is there a way to import page markdown content using api?
Yeummy
  • 157
  • 3
  • 7
3
votes
0 answers

Automatically retrieve notion token_v2

I'm using react-notion-x. And I'm trying to render our private pages. As stated here, we added these: const notion = new NotionAPI({ activeUser: process.env.ACTIVE_USER, authToken: process.env.TOKEN_V2 }) And the ACTIVE_USER and TOKEN_V2 are…
thisNeil
  • 73
  • 1
  • 3
  • 11
2
votes
2 answers

Notion API Filter query construction

I can not get this working but need to apply 2 filters in my query - the and (probably core filter) I can not get to work. Included picture is of the working filter in the Notion. I am using Python and various Notion packages and straight requests…
Marc
  • 1,895
  • 18
  • 25
2
votes
0 answers

Is it possible to move a page from one parent to another using Notion API client?

I can't find anything in the Notion API documentation that would allow me to move a page, block, or database. Is this possible?
Caleb Bolton
  • 89
  • 1
  • 7
2
votes
1 answer

Notion API Return 404 "code":"object_not_found"

Why my Notion API return a 404 status, even though i already connect my Database with my Notion Integration, where am i getting this wrong? Here's my request via Postman: request to notion api using database_id And here's my database…
2
votes
0 answers

How to create a linked database via Notion API?

Manually, I can create a linked database (see the attached image) and then put it under a page, in notion. So far, so good. On the attached image, you can see the arrow on the left and it shows that this is a linked database. When I fetch that block…
ndemir
  • 1,881
  • 3
  • 19
  • 25
2
votes
1 answer

start notion in cmd without it being tied to the command line?

When i open notion in cmd using start notion it opens with the command line enter image description here How do i make it just open by itself without being tied to the command line? Notion also closes whenever i close the cmd window. For example,…
elmo2000
  • 23
  • 3
2
votes
1 answer

How can I connect the notion integration to the specific notion page?

I'm using a free-version notion and created my own integration in this page. The integration targets the correct workspace and so, I wanted to connect the integration to the page in the workspace. This readmesays my integration can be connected to…
Mairo
  • 21
  • 2
1
vote
0 answers

Is there a way to get recently deleted pages/databased in Notion through their API

Is there a way to get recently deleted pages/databased in Notion through their API? I noticed that there is an archived property on pages and databased and I know that there is a search endpoint that can be sorted by last_edit_time…
Jeffrey He
  • 11
  • 1
1
vote
0 answers

posts.map is not a function - nextjs

I was about to copy the code in this video on youtube https://www.youtube.com/watch?v=LFRYYIoiIZg&t=930s&ab_channel=Icodestuff But the problem is the code I copy is not working, its like totally the same my NOTION API is working But this one is not,…
Alvin
  • 11
  • 2
1
vote
2 answers

Propagate the status from Table A to Table B to Table C in notion?

I am trying to create a template where I have the following 3 table: BookDB ChapterDB SectionDB In SectionDB I have 3 columns: Name, Status (of type Status), Chapter (related to Name column of ChapterDB). In ChapterDB I have 3 columns: Name, Book…
phougatv
  • 881
  • 2
  • 12
  • 29
1
vote
0 answers

Notion API token is invalid

A few days back, The Notion access_token suddenly stopped working for many accounts at our Integration (React + Node JS) and returning below error response in Notion REST API: data: { object: 'error', status: 401, code: 'unauthorized', …
1
vote
1 answer

Is there a way thru Notion API to create a database entry based on a page template?

I am thinking of using Notion API to populate a database thousands of records based on an existing page template. Please help… I read Notion’s API documentation site but found no topic about using templates. I also searched the internet but could…
Rhia
  • 11
  • 1
  • 1
1
vote
1 answer

How to add new or existing multi-select tags when creating a page in Notion API?

I can't figure out how to add multi-select tags when creating a page in Notion API. Single select tags are extremely easy to add: "City": { "select": { "name": "New York", } } But my attempts to add multi-select tags end up…
Ruslan
  • 393
  • 1
  • 14
1
vote
0 answers

How to create a new database on Notion API with the new "Status" property?

Notion API HTTP requests are not working when I add a new "Status" propoerty for a new database creation. I've been trying for a while to figure out why, sending Notion a simple HTTP POST request with a "Status" breaks it. If I just replace "Status"…
1
2 3 4 5 6 7