Declaration Templates (Admin)

Clone Template

Clone a template (a system default or one of the company's own) into a NEW company-owned, editable copy. The original is left untouched.

Only HTML templates can be cloned — PDF form-fill templates (e.g. DUA) use a different mechanism and are out of scope.

Body (optional): name: str — name for the copy (defaults to "Cópia de {original}")

post/api/declaration-templates/{template_id}/clone

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/declaration-templates/{template_id}/clone
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

template_idinteger required

Headers

x-api-tokenstring nullable

Request body

object required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 21 revisions of this API.