Preview the run-notification email (dev only)
GET
/api/dev/email-preview/run-notification
const url = 'http://localhost:8080/api/dev/email-preview/run-notification?trigger=success';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8080/api/dev/email-preview/run-notification?trigger=success'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”trigger
string
Responses
Section titled “Responses”Rendered email HTML.
Media typetext/html
string
Invalid request
Media typeapplication/json
object
success
boolean
error
string
Example
{ "error": "Error message"}Internal server error
Media typeapplication/json
object
success
boolean
error
string
Example
{ "error": "Error message"}