Skip to main content

Get Notification Templates

GET /api/v1/notifications/templates

Description

Retrieves a list of notification templates. You can filter the templates using various query parameters to narrow down the results.

Optional Query Parameters:

NameTypeDescription
templateDateRangestringDate range to filter templates. Example: 2020-11-12,2022-11-15.
templateByStatusbooleanFilter templates by whether email notifications are enabled.
templateByTenantIdsstringFilter templates by tenant IDs.
templateByProductNamestringFilter templates by matching part of the product name.
templateByTemplateNamestringFilter templates by matching part of the template name.

Example Request:

curl -X GET "{{baseURL}}/api/v1/notifications/templates" \
-H "Authorization: Bearer [access_token]" \
-G \
--data-urlencode "templateDateRange=2020-11-12,2022-11-15" \
--data-urlencode "templateByStatus=true" \
--data-urlencode "templateByTenantIds=tenant1,tenant2" \
--data-urlencode "templateByProductName=REGISTRY" \
--data-urlencode "templateByTemplateName=Reminder"