Notification Templates

Render notification template with mock data

Generates mock ChangeEvent data for the specified resource and eventType, then renders the template. Returns the rendered subject and body for preview. Does not send to any destination. Requires any of: CREATE, EDIT_ALL, EDIT_USER_NOTIFICATION_TEMPLATE.

post/v1/notificationTemplates/render

Request

  • Base URL: https://demo.getcollate.io/api
  • URL: https://demo.getcollate.io/api/v1/notificationTemplates/render
  • Auth: HTTP bearer

Request body

templateSubjectstring required
templateBodystring required
resourcestring required
eventType'entityCreated' | 'entityUpdated' | 'entityFieldsChanged' | 'entityNoChange' | 'entitySoftDeleted' | 'entityDeleted' | 'entityRestored' | 'threadCreated' | 'threadUpdated' | 'postCreated' | 'postUpdated' | 'taskCreated' | 'taskUpdated' | 'taskResolved' | 'taskClosed' | 'logicalTestCaseAdded' | 'suggestionCreated' | 'suggestionUpdated' | 'suggestionAccepted' | 'suggestionRejected' | 'suggestionDeleted' | 'userLogin' | 'userLogout' | 'entityLineageAdded' | 'entityLineageDeleted' | 'entityLineageUpdated'

Response

Rendering result with validation and render outputs

Changes

No recorded changes to this operation across all 1 revision of this API.