Create
Mail templates
Create
Create custom template
POST
Create
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Jinja2 compatible string with email body
Minimum string length:
1Custom template name
Required string length:
1 - 128Jinja2 compatible string with email subject
Minimum string length:
1Document type of content
Available options:
receivables_quote, receivables_invoice, receivables_paid_invoice, receivables_credit_note, receivables_discount_reminder, receivables_final_reminder, payables_purchase_order, payables_notify_approver, payables_notify_payer Is default template
Lowercase ISO code of language
Available options:
ab, aa, af, ak, sq, am, ar, an, hy, av, ae, ay, az, bm, ba, eu, be, bn, bi, bs, br, bg, my, ca, ch, ce, ny, zh, cu, cv, kw, co, cr, hr, cs, da, dv, nl, dz, en, eo, et, ee, fo, fj, fi, fr, fy, ff, gd, gl, lg, ka, de, el, kl, gn, gu, ht, ha, he, hz, hi, ho, hu, io, ig, id, ia, ie, iu, ik, ga, it, ja, jv, kn, kr, ks, kk, km, ki, rw, ky, kv, kg, ko, kj, ku, lo, la, lv, li, ln, lt, lu, lb, mk, mg, ms, ml, mt, gv, mi, mr, mh, mn, na, nv, nd, nr, ng, ne, no, nb, nn, ii, oc, oj, om, os, pi, ps, fa, pl, pt, pa, qu, ro, rm, rn, ru, se, sm, sg, sa, sc, sr, sn, sd, si, sk, sl, so, st, es, su, sw, ss, sv, tl, ty, tg, ta, tt, te, th, bo, ti, to, ts, tn, tr, tk, tw, ug, uk, ur, uz, ve, vi, vo, wa, cy, wo, xh, yi, yo, za, zu Response
Successful Response
ID of email template
Template created date and time
Template updated date and time
Jinja2 compatible email body template
Is default template
Lowercase ISO code of language
Maximum string length:
4Name of the template
Maximum string length:
128Jinja2 compatible email subject template
Maximum string length:
2048Document type of content