Rivier/ Reference/ hosting

Hosting template instantiate

post/hosting/sites/{id}/templates/{tid}/instantiate

Copy a template's pages into the site as drafts (existing pages are never touched), with its tokens and plan; the answer lists what is still to connect.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Mcp
rivier_site_template_instantiate
Graphql
Mutation.hostingTemplateInstantiate
Sdk
hosting.template.instantiate
Cli
hosting template instantiate

Parameters

  • idstring (uuid)required
    In the path
  • tidstringrequired
    In the path

Request bodyapplication/json, required

  • brandstring
    At most 60 characters.

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown