page_url = NOTION_PAGE_URL
page_id = DATABASE_ID_TEST
# Surprisingly in this case you need to add "Content-Type": "application/json"
# If not you will an error 400: body failed validation: body.parent should be defined, instead was 'undefined'.
headers = {"Authorization": f"{INTEGRATION_TOKEN}", "Notion-Version": "2021-05-13", "Content-Type": "application/json"}
name = {"title":[{"text":{"content":"Added via API NAAS"}}]}
company = {"rich_text": [{"text": {"content": "Test Company"}}]}
status = {"select": {"name": "Lost"}}
est_value = {"number": 10000 }
header = {"object": "block",
"text": [{ "type": "text", "text": { "content": "Naas API test" } }]
paragraph = {"object": "block",
"content": "Notebooks as a service for data geeks. Naas notebooks enable you to script faster with low-code formulas & templates. Automate all your tasks in minutes..",
to_do = {"object": "block",
"content": "Automate all your tasks in minutes..",
"content": "Script faster",