You just send the helpers with the template content in the helpers property

POST { "template": { "content": "{{myHelper}}", "helpers": "function myHelper() { return 'foo' }", "engine": "handlebars", "recipe": "chrome-pdf" }, "data": ... }