Listing photos and documents for marketplaces

Dreep stores each listing photo once and serves every size your marketplace needs from saved presets. Sellers upload straight from the browser, duplicate photos are skipped by content hash, and ownership documents sit in signed folders only your reviewers can open.

How it works

Your backend holds the API key. The seller's browser only ever sees a single-use upload URL.

  1. 1

    Seller picks photos

    Browser hashes each file

  2. 2

    Your backend presigns

    folder: listings/{id}

  3. 3

    Parallel PUTs

    Duplicates skipped

  4. 4

    Confirm

    Asset becomes ready

  5. 5

    Presets on delivery

    Thumb, card, gallery, zoom

Upload URLs are single use and valid for 10 minutes.

Presign and confirm on your backend

Check that the seller owns the listing, then presign. After the browser uploads, confirm and request any preset with ?p=.

import { Dreep } from "dreep";

const dreep = new Dreep({ apiKey: process.env.DREEP_API_KEY });

// Check first that the signed-in seller owns listingId.
export const presignListingPhoto = ({ listingId, filename, contentType, sizeBytes, contentHash }) =>
  dreep.presignUpload({
    filename,
    contentType,
    sizeBytes,
    contentHash,
    folder: "listings/" + listingId,
  });

export const confirmListingPhoto = async ({ id }) => {
  const asset = await dreep.confirmUpload({ id });
  return { id: asset.id, card: dreep.url(asset, { preset: "listing_card" }) };
};

Why marketplaces use it

Presets per UI slot

Change the card size in one place, with no code change and no re-upload.

Content-hash dedupe

Re-listing the same property or car skips the upload entirely.

Signed verification folders

ID and ownership documents only open through short-lived links your backend issues.

Frequently asked questions

Should I resize listing photos on upload or on delivery?

On delivery, for most marketplaces. Keep the original and request sizes through presets, so you can add a new card size next year without re-uploading anything.

How do I stop sellers uploading to someone else's listing?

Authorise on your backend before you call presign. Dreep validates the file, but it does not know which of your users owns which listing.

Can sellers upload iPhone HEIC photos?

Yes. HEIC and HEIF are accepted inputs. Request format=webp or format=avif on delivery and buyers get a format their browser can display.

What happens if we run out of transformations mid-month?

Requests for new variants return LIMIT_EXCEEDED. There is no automatic overage billing. Buy a one-time pack or upgrade.

Related

Set up your listing presets on the free plan

Create a project, save a card preset and upload a test listing from your browser.