Retrieve a template
GET
/templates/{id}Autorisierung
AuthorizationBearer-Token · headererforderlichA BillionSend API key (bs_…).
Pfadparameter
idstringerforderlichTemplate id or alias
min. Länge 1
Antworten
200
Template by id or alias. 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. from, reply_to and variables are not supported and read as null, null and [].
idstring<uuid>erforderlichnamestringerforderlichaliasstring | nullerforderlichstatusstringerforderlichErlaubt:
publishedpublished_atstringerforderlichcreated_atstringerforderlichupdated_atstringerforderlichobjectstringerforderlichErlaubt:
templatecurrent_version_idstring<uuid>erforderlichfromnullerforderlichsubjectstring | nullerforderlichreply_tonullerforderlichhtmlstringerforderlichtextstring | nullerforderlichvariablesany[]erforderlichAlways empty
has_unpublished_versionsbooleanerforderlichErlaubt:
false401
Missing, malformed, unknown or revoked API key
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich404
Not found
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich