Notion - Create a Page
POST https://api.notion.com/v1/pages/
Taken from [
Request Body
{"parent"=>{"database_id"=>""}, "properties"=>{"Type"=>{"select"=>{"id"=>"f96d0d0a-5564-4a20-ab15-5f040d49759e", "name"=>"Article", "color"=>"default"}}, "Score /5"=>{"select"=>{"id"=>"5c944de7-3f4b-4567-b3a1-fa2c71c540b6", "name"=>"⭐️⭐️⭐️⭐️⭐️", "color"=>"default"}}, "Name"=>{"title"=>[{"text"=>{"content"=>"New Media Article"}}]}, "Status"=>{"select"=>{"id"=>"8c4a056e-6709-4dd1-ba58-d34d9480855a", "name"=>"Ready to Start", "color"=>"yellow"}}, "Publisher"=>{"select"=>{"id"=>"01f82d08-aa1f-4884-a4e0-3bc32f909ec4", "name"=>"The Atlantic", "color"=>"red"}}, "Publishing/Release Date"=>{"date"=>{"start"=>"2020-12-08T12:00:00Z", "end"=>nil}}, "Link"=>{"url"=>"https://www.nytimes.com/2018/10/21/opinion/who-will-teach-silicon-valley-to-be-ethical.html"}, "Summary"=>{"rich_text"=>[{"type"=>"text", "text"=>{"content"=>"Some think chief ethics officers could help technology companies navigate political and social questions.", "link"=>nil}, "annotations"=>{"bold"=>false, "italic"=>false, "strikethrough"=>false, "underline"=>false, "code"=>false, "color"=>"default"}, "plain_text"=>"Some think chief ethics officers could help technology companies navigate political and social questions.", "href"=>nil}]}, "Read"=>{"checkbox"=>false}}, "children"=>[{"object"=>"block", "type"=>"heading_2", "heading_2"=>{"rich_text"=>[{"type"=>"text", "text"=>{"content"=>"Lacinato kale"}}]}}, {"object"=>"block", "type"=>"paragraph", "paragraph"=>{"text"=>[{"type"=>"text", "text"=>{"content"=>"Lacinato kale is a variety of kale with a long tradition in Italian cuisine, especially that of Tuscany. It is also known as Tuscan kale, Italian kale, dinosaur kale, kale, flat back kale, palm tree kale, or black Tuscan palm.", "link"=>{"url"=>"https://en.wikipedia.org/wiki/Lacinato_kale"}}}]}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string | ||
Notion-Version | string |
RESPONSES
status: OK
{"object":"page","id":"672b014a-2626-4ada-9211-fb3613d07ae2","created_time":"2022-03-02T05:24:00.000Z","last_edited_time":"2022-03-02T05:24:00.000Z","created_by":{"object":"user","id":"92a680bb-6970-4726-952b-4f4c03bff617"},"last_edited_by":{"object":"user","id":"92a680bb-6970-4726-952b-4f4c03bff617"},"cover":null,"icon":null,"parent":{"type":"database_id","database_id":"8e2c2b76-9e1d-47d2-87b9-ed3035d607ae"},"archived":false,"properties":{"Score /5":{"id":")Y7%22","type":"select","select":{"id":"5c944de7-3f4b-4567-b3a1-fa2c71c540b6","name":"⭐️⭐️⭐️⭐️⭐️","color":"default"}},"Type":{"id":"%2F7eo","type":"select","select":{"id":"672b014a-2626-4ada-9211-fb3613d07ae2","name":"Article","color":"default"}},"Publisher":{"id":"%3E%24Pb","type":"select","select":{"id":"01f82d08-aa1f-4884-a4e0-3bc32f909ec4","name":"The Atlantic","color":"red"}},"Summary":{"id":"%3F%5C25","type":"rich_text","rich_text":[{"type":"text","text":{"content":"Some think chief ethics officers could help technology companies navigate political and social questions.","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Some think chief ethics officers could help technology companies navigate political and social questions.","href":null}]},"Publishing/Release Date":{"id":"%3Fex%2B","type":"date","date":{"start":"2020-12-08T12:00:00.000+00:00","end":null,"time_zone":null}},"Link":{"id":"VVMi","type":"url","url":"https://www.nytimes.com/2018/10/21/opinion/who-will-teach-silicon-valley-to-be-ethical.html"},"Read":{"id":"_MWJ","type":"checkbox","checkbox":false},"Status":{"id":"%60zz5","type":"select","select":{"id":"8c4a056e-6709-4dd1-ba58-d34d9480855a","name":"Ready to Start","color":"yellow"}},"Author":{"id":"qNw_","type":"multi_select","multi_select":[]},"Name":{"id":"title","type":"title","title":[{"type":"text","text":{"content":"New Media Article","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"New Media Article","href":null}]}},"url":"https://www.notion.so/New-Media-Article-672b014a26264ada9211fb3613d07ae2"}