Rivier/ Reference/ workspace

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)required
    In the path

Request bodyapplication/json, required

  • templateIdstring (uuid)
  • galleryKeystring
    At most 80 characters.
  • languagestring
    One of: en, dv, ar.
  • layoutstring
    One of: minimal, classic, modern, bold.
  • kindstringrequired
    One of: quote, proposal, invoice.

Responses

  • 200application/json
    Success
    • appliedobjectrequired
    • 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