Skip to Content
SendlySendly
API ReferenceTemplates

Show which campaigns and workflows use a template

GET
/api/templates/{id}/usage

Show which campaigns and workflows use a template.

Requires the templates:read scope — View your email templates.

headerAuthorizationBearer <API Key>

API key authentication. Use a sk_* (FULL) or pk_* (SENDING_ONLY) key as the bearer token. Public keys (pk_*) are restricted to the email-send endpoints and the self-serve list subscribe/unsubscribe pair; every other endpoint — event tracking included — answers 403 for them. In scope terms (used by /api/v1/* operations): FULL keys hold every scope; SENDING_ONLY keys hold only emails:send.

id*string

Response Body

OK

application/json
  1. response
[key: string]?unknown
Example Request
curl -X GET 'https://api.sendly.now/api/templates/string/usage'
Example Response
{  "property1": null,  "property2": null}