Create a new Code snippet

Create a new Code snippet

Request Body Parameters:

ParameterTypeMandatoryDescriptionExample
namestringfalseThe name of the code snippetUser is nurse
descriptionstringfalseThe description of the code snippetReturns true if the user template name is called nurse
languagestringtrueThe code language Values:JAVASCRIPTJAVASCRIPT
codestringtrueThe actual code snippetuser._template.name === 'nurse'

This API requires SETTINGS_CREATE_CODE_SNIPPET permission(s).

Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!