Workspace org template preview
post/org/{orgId}/templates/preview
The renderable view of a template or starter with the organization's branding and sample figures; nothing is saved.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
workspace:write- Mcp
rivier_templates_preview- Graphql
Mutation.workspaceOrgTemplatePreview- Sdk
workspace.orgTemplate.preview- Cli
templates preview
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.
- kindstringOne of: quote, proposal, invoice.
- clientobject
- namestringDefault: . At most 200 characters.
- addressstringDefault: . At most 1000 characters.
- emailstringDefault: . At most 254 characters.
- namestring
- currencystringDefault: usd. Pattern: ^[a-z]{3}$.
Responses
- 200application/jsonSuccess
- previewobjectrequired
- previewobjectrequired
- 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