Skip to content

Galleries

Share a folder of photos as a gallery, free or paid.

A gallery (/g/<slug>) shares a folder of photos. Without a price it’s a plain gallery: every photo shows, watermarked only if you turn the watermark on. With a price the visitor sees watermarked previews and pays with PayPal to unlock the originals — that needs a Pro workspace with PayPal connected in Settings > Integrations.

Method and path Scope What it does
POST /galleries transfers:create Share a folder as a gallery
GET /galleries/{id} transfers:read One gallery’s links, settings and every purchase
curl -X POST -H "Authorization: Bearer $TARKLE_TOKEN" -H "X-Workspace-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"folder_id":"3f6a1c9e-...","title":"Smith wedding","price":"25.00","currency":"USD"}' \
  https://tarkle.com/api/v1/galleries
{
  "id": "2857",
  "slug": "smith-wedding",
  "title": "Smith wedding",
  "paid": true,
  "price": "25.00",
  "currency": "USD",
  "watermark": true,
  "preview_mode": "all",
  "preview_count": 3,
  "photo_count": 48,
  "gallery_url": "https://acme.tarkle.com/g/smith-wedding",
  "pay_url": "https://acme.tarkle.com/pay/smith-wedding",
  "disabled": false,
  "created_at": "2026-11-09T07:27:15.873Z",
  "folder": { "id": "3f6a1c9e-...", "name": "Smith wedding" },
  "client": { "name": null, "email": null }
}

Body

Field Required Description
folder_id Yes An existing folder’s id (uuid) — every photo in it becomes a gallery photo
title Yes Shown on the gallery page
price No A positive amount, at most two decimals. Omit for a free gallery
currency No Defaults to USD. Only with price
watermark No true/false for a free gallery. A paid gallery is always watermarked until bought
client_name No Accepted and returned for your own use — Tarkle never emails it
client_email No Same — never emailed by Tarkle
preview_mode No "all" (every photo, watermarked) or "first" (only the first preview_count, the rest blurred). Only applies to a paid gallery
preview_count No 0-6, default 3. Only with preview_mode: "first"

Read a gallery’s sales

curl -H "Authorization: Bearer $TARKLE_TOKEN" -H "X-Workspace-Key: $KEY" https://tarkle.com/api/v1/galleries/2857

Answers the same shape as create, plus a purchases array: [{ id, status, amount_paid, currency, buyer_name, buyer_email, created_at, expires_at }], newest first. Only a purchase with status: "completed" means the client actually paid.

Type to search…

↑↓ navigate↵ selectEsc close