Skip to main content
cURL
curl --request POST \
  --url https://api.openlayer.com/v1/storage/presigned-url \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>",
  "storageUri": "<string>",
  "fields": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.openlayer.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your workspace API key. See Find your API key for more information.

Query Parameters

objectName
string
required

The name of the object.

Response

Response OK.

url
string<url>
required

The presigned url.

storageUri
string
required

The storage URI to send back to the backend after the upload was completed.

fields
object

Fields to include in the body of the upload. Only needed by s3