Skip to main content
POST
Publish template

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

key
string
required

Unique template key.

Example:

"invoice-template"

Response

Template published successfully.

subject
string

Messaging subject of the created or updated record. Formats: draft template ms.document.draft.template.{key}, published template ms.document.template.{key}, document ms.document.document.{key} — with keys sanitised into subject tokens (/ → ., spaces → _, other special characters → uXXXX codes).

Example:

"ms.document.draft.template.invoice-template"