Developers
A clean, documented API for everything in Lepta Studio.
Galleries, invoices, clients, payments, webhooks. REST + OAuth, with SDKs for the languages you actually use. Free for personal use, generous limits on every plan.
API reference
Every endpoint, every parameter, with copy-pasteable examples in five languages.
Open
Quickstart
List your first album in under five minutes with a plain curl call — no SDK required.
Open
Auth & OAuth
Personal API keys for scripts. OAuth 2.0 for apps acting on behalf of a studio (coming soon).
Open
Webhooks
HMAC-signed events for uploads, invoice.paid, gallery.viewed, and more.
Open
Quickstart
From zero to a private client gallery in 8 lines.
Every REST endpoint takes a Bearer token from your dashboard. Uploads, filtering, pagination — all standard HTTP.
Get an API key# Authenticate with your personal API key (Dashboard → Developers).
curl https://studio.lepta.app/api/v1/public/v1/albums \
-H "Authorization: Bearer ls_live_YOUR_KEY_HERE"
# Create a private gallery
curl -X POST https://studio.lepta.app/api/v1/public/v1/albums \
-H "Authorization: Bearer ls_live_YOUR_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"name": "Marquez Wedding · April",
"visibility": "unlisted"
}'
Endpoints
A small surface area, on purpose.
/api/v1/public/v1/albumsList galleries for the authenticated studio.
/api/v1/public/v1/albumsCreate a new gallery (with privacy options).
/api/v1/public/v1/albums/:id/photosUpload a photo or video to a gallery.
/api/v1/public/v1/invoicesCreate and optionally send an invoice.
/api/v1/public/v1/clientsAdd a client to the studio's roster.
/api/v1/public/v1/paymentsPaginated list of incoming payments.
SDKs
Official libraries.
Language SDKs are on the roadmap. In the meantime, the REST API is language-agnostic — every endpoint is documented above.
Node.js
Coming soonnpm i @lepta/sdkPython
Coming soonpip install lepta-sdkGo
Coming soongo get github.com/lepta/sdk-goRuby
Coming soongem install lepta-sdkSync photos from your CMS
Push delivered galleries into your portfolio site automatically.
Custom invoicing flows
Tie Lepta Studio invoices to your CRM or accounting tool of choice.
Multi-studio dashboards
Build internal tools across multiple Lepta Studio workspaces with OAuth.