List Email Templates
List your business’s custom B2B email template overrides.
GET
List Email Templates
Returns only the templates your business has customized — not Khaime’s built-in defaults. Use Get Default Template to see what’s sent when you haven’t overridden a type.All documented errors below (404 Template not found, validation errors, etc.) use the same
{ success: false, message, error_code, ... } envelope as the rest of the Partner API. The one difference: unexpected/unhandled server errors on /email-templates/* routes are passed to Express’s next(error) rather than the shared error helper, so a genuine bug here can surface as a bare { status: 'error', message: 'We encountered a problem...' } with no success field, instead of the richer enhanced-error shape you’d see from an unhandled error elsewhere in the API. This only matters for 500s you weren’t expecting — don’t design your happy-path error handling around it.Response
available_types is filtered to B2B template types only (11 total — see the enum in Get Default Template). templates only ever contains rows you’ve explicitly saved via Upsert Email Template — an empty array means every B2B email you send uses Khaime’s defaults.
