FCHubFCHub.co

Get email template

Retrieve the rendered HTML content of an email template.

POST
/email-notification/get-template

Authorization

applicationPassword
AuthorizationBasic <token>

WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

template*string

Template path (e.g. "order.paid.admin")

Response Body

application/json

curl -X POST "https://your-site.com/wp-json/fluent-cart/v2/email-notification/get-template" \  -H "Content-Type: application/json" \  -d '{    "template": "string"  }'
{
  "template": "string"
}