Skip to main content
POST
/
files
/
upload-url
Create file upload signed URL
curl --request POST \
  --url https://api.tomorro.com/v2/files/upload-url \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "contentType": "application/pdf"
}
'
{
  "url": "https://s3.eu-west-3.amazonaws.com/secured-storage.getleeway",
  "key": "signedFiles/550e8400-e29b-41d4-a716-446655440000/files/b3b7bd7b-85f9-49e7-843d-71f656df5ca5"
}

Documentation Index

Fetch the complete documentation index at: https://alpha.developer.tomorro.com/llms.txt

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

Authorizations

x-api-key
string
header
required

API key for authentication. Get your key at https://app.tomorro.com/settings/integrations?integration=api-key

Body

application/json
contentType
string
required

MIME content type of the file to upload.

Example:

"application/pdf"

Response

Pre-signed upload URL created successfully

url
string
required

Pre-signed URL. PUT the file body directly here.

Example:

"https://s3.eu-west-3.amazonaws.com/secured-storage.getleeway"

key
string
required

Storage key for the uploaded file.

Example:

"signedFiles/550e8400-e29b-41d4-a716-446655440000/files/b3b7bd7b-85f9-49e7-843d-71f656df5ca5"