/codesnippets

Creates a Formatted Code enhancement that you can then insert with the /code command in the editor. No field is required and values are stored as sent, without validation, so a request with an empty body still creates an empty snippet. Fields other than the ones listed are ignored. Returns only the new id; there is no API to update or delete a snippet afterwards.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

The title shown when you pick the snippet with the /code command.

string

The highlighted HTML that is inserted into the email.

string

The plain source code.

string

The background color, for example rgb(255, 255, 255).

string

The editor theme used for highlighting, for example xcode.

string

The language used for highlighting, for example javascript.

Response

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