Developers Dashboard

Site settings.

Get settings

GET/sites/{siteId}/settings

The site with its settings, theme tokens, public address and launch checklist, as the dashboard’s Settings shows them: with any unpublished site-wide draft applied, and draft naming what is waiting (null when the live site matches). GET /sites/{siteId} returns the live settings.

Path parameters

  • siteIdstringrequired

    The site’s id.

Response 200

  • siteobjectrequired

    A website.

    6 child fields
    • idstringrequired
    • namestringrequired
    • hostnamesarray of stringsrequired

      The web addresses the site answers at.

    • themestringrequired
    • settingsobjectrequired

      Navigation, footer, organization, SEO, tokens, design and more.

    • createdAtstringrequired

      An ISO 8601 timestamp.

  • themeobjectrequired
    3 child fields
    • idstringrequired
    • namestringrequired
    • tokensarrayrequired
  • urlstringrequired

    The site’s public address.

  • launchanyrequired

    The launch checklist.

  • draftobjectnullable

    Site-wide changes saved but not live yet (site style, logo, menu, footer), or null. site.settings already includes them; publishing any page or POST /sites/{siteId}/publish puts them live.

    2 child fields
    • areasarray of stringsrequired

      One of style logo menu footer

    • updatedAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/settings \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "site": {
    "id": "site_123",
    "name": "Harbour Bakery",
    "hostnames": [
      "harbour-bakery.unvop.dev"
    ],
    "theme": "studio",
    "settings": {},
    "createdAt": "2026-11-20T08:00:00.000Z"
  },
  "theme": {
    "id": "id_123",
    "name": "Ana",
    "tokens": [
      {}
    ]
  },
  "url": "https://harbour-bakery.unvop.dev",
  "launch": {},
  "draft": {
    "areas": [
      "style"
    ],
    "updatedAt": "2026-11-20T08:00:00.000Z"
  }
}

Change settings

PATCH/sites/{siteId}/settings
Scopesettings:writeRoleowner or admin

Change the site’s name, addresses or settings (nav, footer, organization, seo, tokens, locations, menu, articles, design fonts). Settings you send replace those keys; others are kept. Same checks as the dashboard. The site style (tokens, logo, favicon, theme, design css, fonts and view transitions) and the menu and footer (nav, menu, footer) save as a site-wide draft: the live site is unchanged until you publish (POST /sites/{siteId}/publish or any page publish), and POST /sites/{siteId}/settings/discard throws the draft away. The name, addresses, organization (contact details), seo, locations, map and articles apply at once. Owners and admins only.

Path parameters

  • siteIdstringrequired

    The site’s id.

Request body JSON

  • namestring

    up to 120 characters

  • hostnamesarray of strings

    up to 10 items

  • settingsobject

Response 200

  • siteobjectrequired

    A website.

    6 child fields
    • idstringrequired
    • namestringrequired
    • hostnamesarray of stringsrequired

      The web addresses the site answers at.

    • themestringrequired
    • settingsobjectrequired

      Navigation, footer, organization, SEO, tokens, design and more.

    • createdAtstringrequired

      An ISO 8601 timestamp.

  • themeobjectrequired
    3 child fields
    • idstringrequired
    • namestringrequired
    • tokensarrayrequired
  • urlstringrequired

    The site’s public address.

  • launchanyrequired

    The launch checklist.

  • draftobjectnullable

    Site-wide changes saved but not live yet (site style, logo, menu, footer), or null. site.settings already includes them; publishing any page or POST /sites/{siteId}/publish puts them live.

    2 child fields
    • areasarray of stringsrequired

      One of style logo menu footer

    • updatedAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X PATCH https://api.unvop.com/v1/sites/site_123/settings \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Ana",
    "hostnames": [
      "harbour-bakery.unvop.dev"
    ]
  }'
Response 200
{
  "site": {
    "id": "site_123",
    "name": "Harbour Bakery",
    "hostnames": [
      "harbour-bakery.unvop.dev"
    ],
    "theme": "studio",
    "settings": {},
    "createdAt": "2026-11-20T08:00:00.000Z"
  },
  "theme": {
    "id": "id_123",
    "name": "Ana",
    "tokens": [
      {}
    ]
  },
  "url": "https://harbour-bakery.unvop.dev",
  "launch": {},
  "draft": {
    "areas": [
      "style"
    ],
    "updatedAt": "2026-11-20T08:00:00.000Z"
  }
}

Discard site-wide changes

POST/sites/{siteId}/settings/discard
Scopesettings:writeRoleowner or admin

Throw away the unpublished site-wide draft (site style, logo, menu and footer changes) so the settings match the live site again. Pages’ drafts are not touched. Owners and admins only.

Path parameters

  • siteIdstringrequired

    The site’s id.

Response 200

  • siteobjectrequired

    A website.

    6 child fields
    • idstringrequired
    • namestringrequired
    • hostnamesarray of stringsrequired

      The web addresses the site answers at.

    • themestringrequired
    • settingsobjectrequired

      Navigation, footer, organization, SEO, tokens, design and more.

    • createdAtstringrequired

      An ISO 8601 timestamp.

  • themeobjectrequired
    3 child fields
    • idstringrequired
    • namestringrequired
    • tokensarrayrequired
  • urlstringrequired

    The site’s public address.

  • launchanyrequired

    The launch checklist.

  • draftobjectnullable

    Site-wide changes saved but not live yet (site style, logo, menu, footer), or null. site.settings already includes them; publishing any page or POST /sites/{siteId}/publish puts them live.

    2 child fields
    • areasarray of stringsrequired

      One of style logo menu footer

    • updatedAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X POST https://api.unvop.com/v1/sites/site_123/settings/discard \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "site": {
    "id": "site_123",
    "name": "Harbour Bakery",
    "hostnames": [
      "harbour-bakery.unvop.dev"
    ],
    "theme": "studio",
    "settings": {},
    "createdAt": "2026-11-20T08:00:00.000Z"
  },
  "theme": {
    "id": "id_123",
    "name": "Ana",
    "tokens": [
      {}
    ]
  },
  "url": "https://harbour-bakery.unvop.dev",
  "launch": {},
  "draft": {
    "areas": [
      "style"
    ],
    "updatedAt": "2026-11-20T08:00:00.000Z"
  }
}

List site-wide versions

GET/sites/{siteId}/settings/revisions

The last 50 published versions of the site style, logo, menu and footer, newest first, with the parts each publish changed (areas). The oldest may be what was live before the first site-wide publish.

Path parameters

  • siteIdstringrequired

    The site’s id.

Response 200

  • itemsarray of objectsrequired
    5 child fields
    • idstringrequired
    • notestring
    • areasarray of stringsrequired
    • createdAtstringrequired
    • userNamestring

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/settings/revisions \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "items": [
    {
      "id": "rev_123",
      "note": "New opening hours",
      "areas": [],
      "createdAt": "2026-11-20T08:00:00.000Z"
    }
  ]
}

Restore a site-wide version

POST/sites/{siteId}/settings/revisions/{revisionId}/restore
Scopesettings:writeRoleowner or admin

Make a published version of the site style, logo, menu and footer the site-wide draft again. Publish to put it live; this is how a site-wide publish is undone. Owners and admins only.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • revisionIdstringrequired

    A revision id from GET /sites/{siteId}/settings/revisions.

Response 200

  • siteobjectrequired

    A website.

    6 child fields
    • idstringrequired
    • namestringrequired
    • hostnamesarray of stringsrequired

      The web addresses the site answers at.

    • themestringrequired
    • settingsobjectrequired

      Navigation, footer, organization, SEO, tokens, design and more.

    • createdAtstringrequired

      An ISO 8601 timestamp.

  • themeobjectrequired
    3 child fields
    • idstringrequired
    • namestringrequired
    • tokensarrayrequired
  • urlstringrequired

    The site’s public address.

  • launchanyrequired

    The launch checklist.

  • draftobjectnullable

    Site-wide changes saved but not live yet (site style, logo, menu, footer), or null. site.settings already includes them; publishing any page or POST /sites/{siteId}/publish puts them live.

    2 child fields
    • areasarray of stringsrequired

      One of style logo menu footer

    • updatedAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X POST https://api.unvop.com/v1/sites/site_123/settings/revisions/rev_123/restore \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "site": {
    "id": "site_123",
    "name": "Harbour Bakery",
    "hostnames": [
      "harbour-bakery.unvop.dev"
    ],
    "theme": "studio",
    "settings": {},
    "createdAt": "2026-11-20T08:00:00.000Z"
  },
  "theme": {
    "id": "id_123",
    "name": "Ana",
    "tokens": [
      {}
    ]
  },
  "url": "https://harbour-bakery.unvop.dev",
  "launch": {},
  "draft": {
    "areas": [
      "style"
    ],
    "updatedAt": "2026-11-20T08:00:00.000Z"
  }
}