Create a template
/templatesAuthorizationToken Bearer · headerobligatorioA BillionSend API key (bs_…).
application/jsonnamestringobligatoriosubjectstring | null"" or null clears the subject
htmlstringobligatorioStored 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
Mostrar propiedadesOcultar propiedades
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.
objectstringobligatoriotemplateidstring<uuid>obligatorioMissing, malformed, unknown or revoked API key
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioAlias already in use
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioValidation error, including from/reply_to/variables (not supported)
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioOver the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorio