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.

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
terminal
# 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.

GET/api/v1/public/v1/albums
POST/api/v1/public/v1/albums
POST/api/v1/public/v1/albums/:id/photos
POST/api/v1/public/v1/invoices
POST/api/v1/public/v1/clients
GET/api/v1/public/v1/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 soon
npm i @lepta/sdk

Python

Coming soon
pip install lepta-sdk

Go

Coming soon
go get github.com/lepta/sdk-go

Ruby

Coming soon
gem install lepta-sdk

Sync 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.