Skip to main content
PUT
/
{presigned-url}
Upload Image
curl --request PUT \
  --url https://api.example.com/{presigned-url} \
  --header 'Content-Type: image/jpeg' \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-token: <api-key>' \
  --data '"<string>"'
"<string>"

Authorizations

x-api-key
string
header
required

API key for application authentication (format: leo_xxxxxxxxx)

x-user-token
string
header
required

Secure user token (Non-PII format: lm_usr_xxxxx) - PROPOSED: Not yet implemented

Path Parameters

presigned-url
string<uri>
required

The complete pre-signed URL returned from GET /api/media/upload-url endpoint

Body

Binary image file data

The body is of type file.

Response

Image uploaded successfully to S3

S3 response (usually empty for successful uploads)