Skip to main content
Test Template Render

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Request for testing notification template rendering.

entitySubType
string

Entity sub-type to use when testing template rendering.

Required string length: 1 - 100
Pattern: ^[\s\S]*$
Example:

"logsImmediateResolved"

entityType
enum<string>

Entity type.

Available options:
ENTITY_TYPE_UNSPECIFIED,
ALERTS,
TEST_NOTIFICATIONS,
CASES
template
string

Template string to test rendering for.

Maximum string length: 20000
Pattern: ^[\s\S]*$
Example:

"{{ alertDef.name }}"

Response

200 - application/json

Response containing the results of a notification template render test.

result
object

Result of a template render test, either a success with rendered output or a failure with reason.