Skip to main content
POST
/
v1
/
ingest
/
sources
/
{source_key}
/
asset-uploads
Presign a batch of image assets
curl --request POST \
  --url https://api.withsplendor.com/v1/ingest/sources/{source_key}/asset-uploads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-splendor-tenant-id: <x-splendor-tenant-id>' \
  --data '
{
  "assets": [
    {
      "content_type": "<string>",
      "object_size_bytes": 1,
      "filename": "<string>"
    }
  ]
}
'
{
  "assets": [
    {
      "bucket": "acme-uploads",
      "expires_at": "2026-01-15T09:30:00Z",
      "image_reference": "s3://acme-uploads/sources/catalog/hosted/2026/07/01/abc123.png",
      "key": "sources/catalog/hosted/2026/07/01/abc123.png",
      "required_headers": {
        "content-type": "image/png"
      },
      "upload_session_id": "ups_01H8Z4",
      "upload_url": "https://acme-uploads.s3.amazonaws.com/..."
    }
  ]
}

Authorizations

Authorization
string
header
required

API token issued from the Splendor console.

Headers

x-splendor-tenant-id
string
required

Selects the tenant (workspace) the request acts within.

Path Parameters

source_key
string
required

Body

application/json
assets
HostedAssetSpec · object[]
required
Required array length: 1 - 256 elements

Response

Successful Response

assets
HostedAssetUpload · object[]
required