Skip to main content
GET
https://asset.legitmark.com
/
intent
cURL
# Get presigned URL
curl 'https://asset.legitmark.com/intent?sr=8e61c991-553a-4a58-9eb6-561b64c11908&side=ec883c70-f896-47c9-81b6-8d6ff0b5856a.jpg'

# Upload image to the returned presigned URL
curl -X PUT 'PRESIGNED_URL_FROM_ABOVE' \
  -H 'Content-Type: image/jpeg' \
  --data-binary @interior-size-tag.jpg
{
  "message": "Pre-signed URL generated successfully.",
  "url": "https://s3.us-east-1.amazonaws.com/cdn.legitmark.com/sr/8e61c991-553a-4a58-9eb6-561b64c11908/ec883c70-f896-47c9-81b6-8d6ff0b5856a.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Expires=300&X-Amz-Signature=..."
}

Documentation Index

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

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

Supported File Types

ExtensionMIME Type
.jpg / .jpegimage/jpeg
.pngimage/png
.heicimage/heic
.dngimage/x-adobe-dng
The side parameter must include a file extension (e.g. side-uuid.jpg). Requests without an extension return 400.

Query Parameters

sr
string<uuid>
required

Service request UUID

side
string
required

Side UUID with file extension appended (e.g., {side_uuid}.jpg). The file extension determines the upload content type. Allowed extensions: jpg, jpeg, png, heic, dng

Response

Pre-signed URL generated successfully

message
string
required
Example:

"Pre-signed URL generated successfully."

url
string<uri>
required

Pre-signed URL for upload