Create a template
/templatesAuthorizationJeton Bearer · headerrequisA BillionSend API key (bs_…).
application/jsonnamestringrequissubjectstring | null"" or null clears the subject
htmlstringrequisStored as sent; the dashboard sanitizes at render
textstring | null"" or null clears the text part
aliasstring | nullCase-sensitive handle, unique per team; GET /templates/{alias} resolves it
fromstring | nullNot supported: any value is a 422
reply_tostring | string[] | nullNot supported: any value is a 422
Afficher les propriétésMasquer les propriétés
stringstringstringnullvariablesany[]Not supported: a non-empty list is a 422
Template created. Every save through the API is live and publishes a new version, so status is always published. The dashboard editor keeps a working copy and publishes on request, with a version history.
objectstringrequistemplateidstring<uuid>requisMissing, malformed, unknown or revoked API key
statusCodenumberrequisnamestringrequismessagestringrequisAlias already in use
statusCodenumberrequisnamestringrequismessagestringrequisValidation error, including from/reply_to/variables (not supported)
statusCodenumberrequisnamestringrequismessagestringrequisOver the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberrequisnamestringrequismessagestringrequis