Developers / Authentication and rate limits
Start building

Authentication and rate limits

The public API needs no key; the site REST API uses API keys with scopes. Writes are limited per visitor, accounts use a same-origin cookie, and bodies are capped.

Updated Developers

Authentication

The public API is open: it needs no key or token. The site is chosen by the address, either the site's own domain (/_vorjo/…) or https://api.vorjo.com/v1/sites/<site>/…. It only exposes what a visitor to the site could see anyway: active products, published posts, content, open booking slots and the customer's own orders (by reference).

  • CORS on the API host allows any origin, with GET, POST and OPTIONS and no credentials.
  • Customer accounts use an HttpOnly cookie on the shop's own host, and requests from other origins are refused. They only work on the site's own address.
  • The private preview marks every order, booking and message as a test.
  • Card payments run through the owner's own Stripe account. Vorjo never sees full card numbers.

API keys (the site REST API)

The site REST API shows what the admin panel shows, so it needs a key: Authorization: Bearer vsk_…. Owners (and team members with the Developers permission) make keys in Settings › Developers › API keys. Each key:

  • works for one site only, with the scopes it was given (each resource read, or read and write);
  • is shown once; only its SHA-256 hash is stored, and revoking it stops it at once;
  • has its own rate limit: 60, 120 (default), 300 or 600 requests a minute, with X-RateLimit-Limit, X-RateLimit-Remaining and Retry-After on a 429.

Webhooks go the other way: each endpoint has a signing secret, and every request is signed (see Webhook events).

Rate limits

Limits are per visitor and per site, over a 10-minute window. Going over returns 429 with { "error": "Too many requests…" }.

ActionLimit per 10 minutes
Form messages20
Bookings10
Cart quotes600
Checkouts20
Order lookups20
Reviews8
Account sign-ups10
Account sign-ins12
Password or login codes sent6

Reading products, posts and content isn't limited this way, but please cache where you can.

Other limits

  • Request bodies: up to 32 KB
  • Products per list request: up to 200; posts: up to 100
  • Forms: up to 40 fields. Fill _hp (a hidden honeypot field) only if you're a bot: such requests get a fake success and are dropped.
  • Emailed codes: 5 tries each, valid for 30 minutes
Esc
Developer docs
Developer overviewHow a Vorjo site is put together, and the ways to build on it - the public API, the REST API and webhooks, the site toolkit and Gears.Shop and content APIEvery address a site uses for its products, checkout, orders, blog, content, forms, bookings, reviews and accounts, plus the admin routes.AI agents (MCP)Connect Claude, ChatGPT, Cursor or any MCP client to your Vorjo sites. It manages orders, products, bookings and messages, asks the Studio for changes and publishes, with the access you allow.Site REST APIRead a site's orders, products, bookings, contacts, invoices, form entries and subscribers, and make changes, with an API key from Settings › Developers.The site toolkit (React)The hooks and components every Vorjo site uses for its shop, blog, content, forms, bookings, reviews and SEO.GearsHow Gears (add-ons) are built - one module with a manifest that plugs into payments, the page head, routes, events and widget slots.
↑ ↓ to moveEnter to openEsc to close