Generate a pre-signed URL for secure media upload. This endpoint provides direct access to upload URLs for service request images.
Example workflow:
# Step 1: Get pre-signed URL (with required sr and side parameters)
curl --location 'https://asset.legitmark.com/intent?sr=22077e95-b403-41bc-9c9d-ee0243a98fc7&side=3c14e504-8134-11ef-9e85-02d0d7ecc26b.jpg'
# Step 2: Upload to returned URL
curl -X PUT 'RETURNED_PRESIGNED_URL' \
-H 'Content-Type: image/jpeg' \
--data-binary '@image.jpg'
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.
| Extension | MIME Type |
|---|---|
.jpg / .jpeg | image/jpeg |
.png | image/png |
.heic | image/heic |
.dng | image/x-adobe-dng |
side parameter must include a file extension (e.g. side-uuid.jpg). Requests without an extension return 400.Service request UUID
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