Template

sendPreview

Send a preview notification (both email and in-app) to the requesting user. Used to test notification templates before saving.

post/v1/notification/templates/send-preview

Request

  • Base URL
    https://notification.sls.epilot.io
  • URL
    https://notification.sls.epilot.io/v1/notification/templates/send-preview
  • Auth
    • HTTP bearer
    • or API key in header x-epilot-org-id

Request body

context_idsobject

Optional context IDs for variable replacement

Example request

{
  "template": {
    "_manifest": [
      "123e4567-e89b-12d3-a456-426614174000"
    ]
  }
}

Response

Preview notification sent successfully

successboolean required

Whether this notification was sent successfully

dataunknown

Changes

No recorded changes to this operation across all 4 revisions of this API.