Public API

The endpoints below are served from https://varyar.com/api. They return JSON, need no authentication, and are subject to our Terms of Service.

GET/api/health

Returns 200 while the site is up. Not cached.

{ "status": "ok" }

GET/api/products-menu

Ordering and visibility overrides for the Products mega menu, per tab (apps, suites, store). An empty list means nothing is curated. Cached for about a minute.

{ "overrides": [
  { "id": "…", "productId": "…", "tab": "store", "sortOrder": 0, "active": true }
] }

GET/api/product-page-layout/{slug}

The custom hero layout for /store/{slug} per device class, or null when the product uses the default artwork.

{ "layout": null }
// or
{ "layout": { "productSlug": "…", "layouts": { "desktop": {}, "tablet": {}, "mobile": {} } } }

POST/api/waitlist

Joins a product waitlist and sends a confirmation email. Errors return { "error": "…" } with 400 (bad input) or 502 (couldn’t save; retry shortly).

curl -X POST https://varyar.com/api/waitlist \
  -H "Content-Type: application/json" \
  -d '{"email":"[email protected]","waitlist":"Immaculate"}'

{ "ok": true }