/snippettags/:id/snippets

Creates a template in a folder, or moves an existing one into it. You need read-write access to the folder.

  • Create: send the template's fields, without _id.
  • Move: send _id. The template leaves every other folder. You need read-write access to the folder it is in now. If the template is trashed or archived, owning it is enough, and moving it restores it.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The folder's _id.

Body Params
string
string

The subject. If the template has no name, this also sets name.

string

HTML.

cc
array of objects
cc
bcc
array of objects
bcc
attachments
array of objects
attachments
options
object
string

An existing template to move here instead of creating one.

string

The string "true" creates a snippet instead of a template.

Responses

409

options.enforceNameUniqueness is set and the folder already has a template with this name.

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json
Psst... like working with APIs? Come join us!