Templates

New version (draft)

Saves new CONTENT as a draft: if the newest version is already a draft it is overwritten, otherwise a new version is created. The name never changes here. Publish with POST /publish.

put/templates/{ref}

Request

  • Base URL: https://api.oveyon.com/v1
  • URL: https://api.oveyon.com/v1/templates/{ref}
  • Auth: HTTP bearer

Path parameters

refstring required

Request body

subjectstring required
htmlstring
textstring

Response

Draft saved

idinteger required
namestring required
versioninteger required
status'draft' required

Changes

No recorded changes to this operation across all 1 revision of this API.