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)requiredIn the path
- tidstringrequiredIn the path
Request bodyapplication/json, required
- brandstringAt most 60 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring