Create a snippet

Changed on

This call lets you create a snippet.

put/snippets

Request

Request body application/x-www-form-urlencoded

snippetNamestring required

Name of the snippet

subjectstring

The snippet's subject line

snippetTextstring

The snippet's text/body

snippetKeyShortcutstring

A shortcut that activates the snippet

pipelineKeystring

(optional) The pipeline that the snippet will be shared in.

Response

200

userKeystring
creationDateinteger
pipelineKeystring
partOfPipelineboolean
snippetTextstring
snippetNamestring
snippetKeyShortcutstring
snippetTypestring
keystring
lastSavedTimestampinteger

Example response

{
  "userKey": "agptYWlsZchgBDA",
  "creationDate": 1542671098970,
  "pipelineKey": "agptYWls2Zsb3cYjgIM",
  "partOfPipeline": true,
  "snippetText": "These violent delights have violent ends.",
  "snippetName": "Sign off",
  "snippetKeyShortcut": "^bye",
  "snippetType": "HTML",
  "key": "agptYWlsZRjJBAw-ckKDA",
  "lastSavedTimestamp": 1542671258960
}

Changes