DevHub API Documentation
  • Introduction
  • Authentication
  • Errors
  • Getting started guides
    • Business-focused Sites
    • Location-focused Sites
    • Location pages and store locator with custom theme
    • Site publishing with site builder access
  • Code examples
    • Python
    • PHP
    • Perl
  • Best practices
    • Our unique IDs, versus yours
    • State and country codes
  • Core Resources
    • Sites
    • Businesses
    • Locations
    • Domains
    • Proxies
  • Content Resources
    • Pages
    • Content
    • Images
    • Files
    • Modules
    • Plugins
    • Themes
  • Logging and analytics
    • Analytics
    • Contact Logs
  • Single Sign On (SSO)
    • Introduction
    • Assigning a site's user
  • Live Preview API
    • What is the Live Preview API?
  • Advanced
    • Domain aliases
    • Language codes
    • Projects
    • Site Check
    • Traces
    • Webmail
  • Local Storage API
    • What is the Local Storage API?
  • Headless CMS
    • Locations search
  • Visitor Localization SDK
    • Visitor Localization SDK
Powered by GitBook
On this page

Was this helpful?

  1. Live Preview API

What is the Live Preview API?

PreviousAssigning a site's userNextDomain aliases

Last updated 5 years ago

Was this helpful?

We offer a Live Preview API which can be used in self-serve environments to dynamically preview an initial Site and Template using provided Business Details.

Example of fields that can be passed are viewable here:

Example dynamically generated URL

http://cloudtemplates.cloudfrontend.net/app/live-preview/
  ?clone_id=1576931&
  site={%22business%22:{%22business_name%22:%20%22Johnson%20Legal%20Partners%22}}
https://api-docs.devhub.com/core-resources/locations