Variable Syntax
Notifyflow uses Mustache-style double curly brackets for variable interpolation:{{ variableName }}
During ingestion, the values provided in the data payload replace matching brackets. If a key is missing, the bracket compiles as an empty string.
Endpoints
1. List Templates
- Method & Path:
GET /api/v1/templates - Auth: Bearer Token (Dashboard)
Response Example
2. Create Template
- Method & Path:
POST /api/v1/templates - Auth: Bearer Token (Dashboard)
Request Body
3. Update Template
- Method & Path:
PUT /api/v1/templates/:id - Auth: Bearer Token (Dashboard)
Request Body
4. Delete Template
- Method & Path:
DELETE /api/v1/templates/:id - Auth: Bearer Token (Dashboard)
Examples
Welcome Email template
- Subject:
Welcome to {{ company }}, {{ name }}! - Body:
Order Confirmation template
- Subject:
Order Confirmed - #{{ orderId }} - Body: