List templates
Newest first, with cursor pagination: after takes the last id of a page and pages toward older items, before takes the first id and pages back toward newer ones.
GET
/templatesAuthorization
AuthorizationBearer token · headerrequiredA BillionSend API key (bs_…).
Query parameters
limitintegerPage size, 1-100 (default 20)
min 1 · max 100
afterstring<uuid>Cursor: id of the last item of the current page; returns the next page. Must be an id this list returned; there is no sentinel value.
beforestring<uuid>Cursor: id of the first item of the current page; returns the previous page; same rule as after.
Responses
200
Templates
objectstringrequiredAllowed:
listdataobject[]requiredShow propertiesHide properties
Array of
objectidstring<uuid>requirednamestringrequiredaliasstring | nullrequiredstatusstringrequiredAllowed:
publishedpublished_atstringrequiredcreated_atstringrequiredupdated_atstringrequiredhas_morebooleanrequired401
Missing, malformed, unknown or revoked API key
statusCodenumberrequirednamestringrequiredmessagestringrequired422
Validation error
statusCodenumberrequirednamestringrequiredmessagestringrequired429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberrequirednamestringrequiredmessagestringrequired