Workspace org template apply
post/org/{orgId}/templates/apply
A copy of a template's (or a gallery starter's) content to place into a new document; nothing is saved.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
workspace:write- Mcp
rivier_templates_apply- Graphql
Mutation.workspaceOrgTemplateApply- Sdk
workspace.orgTemplate.apply- Cli
templates apply
Parameters
- orgIdstring (uuid)requiredIn the path
Request bodyapplication/json, required
- templateIdstring (uuid)
- galleryKeystringAt most 80 characters.
- languagestringOne of: en, dv, ar.
- layoutstringOne of: minimal, classic, modern, bold.
- kindstringrequiredOne of: quote, proposal, invoice.
Responses
- 200application/jsonSuccess
- appliedobjectrequired
- appliedobjectrequired
- 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