Builder

Import a Vite + React repository (a Lovable or Bolt export) as a new site; other frameworks get a clear refusal

post/builder/imports

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/builder/imports
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Query parameters

orgIdstring

Request body

repoUrlstring

A public repository: https://github.com/<owner>/<name>

installationIdstring

A private repository through the customer GitHub App

repoFullNamestring
branchstring
namestring
connectboolean

Keep the new site in sync with this repository (needs the installation)

checkOnlyboolean

Only check whether it can be imported

Response

The check, and the new site when it could be imported

Changes

No recorded changes to this operation across all 1 revision of this API.