Notion API: how to get the URL of uploaded files

Viewed 2262

I'm using the Notion API Beta, reading pages from a table that has a "Files & media" property I'm interested in. The API response just gives me the names of the files uploaded there, but I don't have a URL to actually access them. What am I missing? Thanks.

{
  "Photo": {
    "id": "xxxx",
    "type": "files",
    "files": [
      {
        "name": "000150748673-ofnuhb-t500x500.jpg"
      }
    ]
  }
}

Update: see answer.


2 Answers

The Notion API currently does not support file uploads or downloads (Notion-Version: 2021-05-13). It does not return a URL to the stored file.

Related