Create a presigned upload session
curl --request POST \
--url https://api.runflow.io/v1/asset-uploads \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filename": "<string>",
"mime_type": "<string>",
"size_bytes": 26214400
}
'{
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"upload_url": "<string>"
}Media
Create a presigned upload session
Generates a presigned PUT URL for direct browser-to-storage upload. The frontend PUTs the file to the returned URL with the declared Content-Type header.
POST
/
v1
/
asset-uploads
Create a presigned upload session
curl --request POST \
--url https://api.runflow.io/v1/asset-uploads \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filename": "<string>",
"mime_type": "<string>",
"size_bytes": 26214400
}
'{
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"upload_url": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
⌘I