Retrieve an Email Template Default Content
GET {{baseUrl}}/api/v1/brands/:brandId/templates/email/:templateName/default-content
Retrieves an email template's default content
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
language | null | The language to use for the email. Defaults to the current user's language if unspecified. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"subject":"Welcome to ${org.name}!","body":"\u003c!DOCTYPE html\u003e\u003chtml\u003e\u003cbody\u003e\u003cp\u003eHello, ${user.profile.firstName}. Click \u003ca href=\"${activationLink}\"\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/default-content","hints":{"allow":["GET"]}},"template":{"href":"https://{yourOktaDomain}/api/v1/brands/{brandId}/templates/email/UserActivation","hints":{"allow":["GET"]}},"preview":{"href":"https://{yourOktaDomain}/api/v1/brands/{brandId}/templates/email/UserActivation/default-content/preview","hints":{"allow":["GET"]}}}}