get
https://api.cloud.mbanq.com/v1/templates
Use this API to retrieve the list of all available notification templates. Templates are used to format the content of notifications sent through subscriptions.
Purpose:
This endpoint provides access to all configured templates in the system, which are essential for creating subscriptions that require formatted notification content (EMAIL, PUSH_NOTIFICATION, CORE_EVENT_PROCESSOR types).
Template Types:
- E-Mail: Templates for email notifications with HTML/text content
- SMS: Templates for SMS notifications
- PUSH_NOTIFICATION: Templates for push notifications
- E_SIGNING_DOCUMENT: Templates for e-signing documents (used with CORE_EVENT_PROCESSOR)
Template Properties:
- Trap Door Templates: System-defined templates that cannot be modified (isTrapDoor: true)
- Custom Templates: User-created templates that can be modified (isTrapDoor: false)
- Identifiers: Unique identifiers for programmatic reference
- Placeholders: Available variables that can be used in template content
Use Case:
Before creating a subscription with a template:
- Retrieve the list of available templates
- Identify the appropriate template ID for your subscription
- Review available placeholders for dynamic content
- Verify template type matches subscriber type requirements
