I wanted everyone to know that we now have two new API endpoints live - one to upload files by URL, and another to get a publicly-accessible URL for a file. See the details below:
Get Public File URLGET /api/v1/shared-files/[file_handle]/url/
Response:
{
"url": "https://…"
}
Upload File by URL
PATCH /api/v1/applications/[app_id]/records/[record_id]/
Request Body:
{
"file_field_slug":[
"https://picsum.photos/200/300"
],
"id":"[record_id]"
}
Response:
record object