Skip to main content
Your message templates: one message written once per channel, and the values each needs.
Needs the templates:read scope.

Request

Response

200 OK
recent_sends is how many messages used the template in the last 30 days. channels lists the channels a variant may be written for, and the fields each takes (abbreviated above).

Errors

Every refusal is {"error": {"code", "message", "field"}}; field is there when one input is at fault. Any request can also be refused for its key, its account or its rate (key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.