new here, I am trying to figure out how can I duplicate a notion page using API.
I have tried to copy each block 1 by 1 but that is really inefficient and I also stubbled on a problem where the Table as not supported properly, and I couldn't just copy it.
Help between Notion users
Register & Ask
It's free & easy
Answers, votes & comments
Vote and select answers
Receive points, vote and give the solution
The Notion API documentation for pages may help. But as you mention, Page content is treated as blocks, so it is not a simple duplicate everything.
More on page content here that can help.
If you follow the information and links provided inside those 2 pages you will have a way to do it.