Skip to main content
POST
/
api
/
ingestion
/
upload
Create a File Upload URL
curl --request POST \
  --url https://api.trysela.com/api/ingestion/upload/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source": "<string>",
  "filename": "<string>"
}
'
{
  "signed_url": "https://storage.example.com/upload/path?X-Amz-Signature=example"
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

source
string
required

Short label for the upload source, such as the system or workflow sending the file. Use letters, numbers, hyphens, and underscores only.

Required string length: 1 - 50
Pattern: ^[a-zA-Z0-9_\-]+$
filename
string
required

Name of the file you plan to upload. The filename must start with a letter or number and may include spaces, dots, hyphens, and underscores.

Required string length: 1 - 255
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_\-. ]*$

Response

Temporary upload URL created successfully.

signed_url
string<uri>
required

Temporary URL where you can upload the file directly with an HTTP PUT request. The URL expires after one hour.