Retrieve a Preview of an Email Customization

GET {{baseUrl}}/api/v1/brands/:brandId/templates/email/:templateName/customizations/:customizationId/preview

Retrieves a preview of an email customization. All variable references (e.g., ${user.profile.firstName}) are populated using the current user's context.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"subject":"Welcome to Okta!","body":"\u003c!DOCTYPE html\u003e\u003chtml\u003e\u003cbody\u003e\u003cp\u003eHello, John. Click \u003ca href=\"https://{yourOktaDomain}/...\"\u003ehere\u003c/a\u003e to activate your account.\u003c/body\u003e\u003c/html\u003e","_links":{"self":{"href":"https://{yourOktaDomain}/api/v1/brands/{brandId}/templates/email/UserActivation/customizations/oel2kk1zYJBJbeaGo0g4/preview","hints":{"allow":["GET"]}},"template":{"href":"https://{yourOktaDomain}/api/v1/brands/{brandId}/templates/email/UserActivation","hints":{"allow":["GET"]}},"test":{"href":"https://{yourOktaDomain}/api/v1/brands/{brandId}/templates/email/UserActivation/test","hints":{"allow":["POST"]}}}}