Email Templates
Manage email notification templates for document delivery.
Manage email templates via JSON:API. Templates define the subject and body for email notifications sent when documents are received via Peppol.
Templates can be scoped to a tenant (applies to all legal entities) or a specific legal entity (Peppol ID). Templates support Pebble syntax for dynamic content.
Available Variables
| Variable | Description |
|---|---|
invoiceNumber | Invoice or credit note number |
sellerName | Sender company name |
buyerName | Recipient company name |
totalAmount | Total amount |
currency | Currency code (e.g. EUR) |
issueDate | Issue date |
dueDate | Due date (if available) |
documentId | Bizzlink document ID |
List all email templates visible to the tenant
GET
/bizzlink/email-templatesList all email templates visible to the tenant
Responses:
| Status | Description |
|---|---|
200 | OK |
Response Body — JsonApiScopedListDocumentEmailTemplateAttributes:
| Field | Type | Description |
|---|---|---|
data | JsonApiScopedResourceEmailTemplateAttributes[] | |
links | JsonApiLinks | |
meta | JsonApiPaginationMeta |
cURL Request
curl -X GET https://gateway.vigasoft.lu/bizzlink/email-templates \
-H "Authorization: Bearer $API_TOKEN" \
-H "X-Bizzlink-Signature: t=$TIMESTAMP,v1=$SIGNATURE"Response
200 OK{
"data": [
{
"attributes": {
"content": "string",
"createdAt": "2026-01-01T00:00:00Z",
"name": "string",
"subject": "string",
"updatedAt": "2026-01-01T00:00:00Z"
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"meta": {
"scope": {
"type": "legal-entity",
"value": "9938:lu28079289"
}
},
"type": "email-templates"
}
],
"links": {
"first": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=1&page%5Bsize%5D=20",
"last": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=7&page%5Bsize%5D=20",
"next": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=4&page%5Bsize%5D=20",
"prev": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=2&page%5Bsize%5D=20",
"self": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=3&page%5Bsize%5D=20"
},
"meta": {
"page": 1,
"size": 20,
"totalElements": 137,
"totalPages": 7
}
}Create an email template
POST
/bizzlink/email-templatesCreate an email template
Request Body:
| Field | Type | Required | Description |
|---|---|---|---|
data | object | Yes | Resource envelope. 'attributes' holds the domain fields; 'meta.scope' declares whether the resource belongs to the whole tenant or to a specific legal entity (Peppol ID). |
Responses:
| Status | Description |
|---|---|
200 | OK |
Response Body — JsonApiScopedDocumentEmailTemplateAttributes:
| Field | Type | Description |
|---|---|---|
data | JsonApiScopedResourceEmailTemplateAttributes |
cURL Request
curl -X POST https://gateway.vigasoft.lu/bizzlink/email-templates \
-H "Authorization: Bearer $API_TOKEN" \
-H "X-Bizzlink-Signature: t=$TIMESTAMP,v1=$SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"data": {}
}'Response
200 OK{
"data": {
"attributes": {
"content": "string",
"createdAt": "2026-01-01T00:00:00Z",
"name": "string",
"subject": "string",
"updatedAt": "2026-01-01T00:00:00Z"
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"meta": {
"scope": {
"type": "legal-entity",
"value": "9938:lu28079289"
}
},
"type": "email-templates"
}
}Delete an email template
DELETE
/bizzlink/email-templates/{id}Delete an email template
Responses:
| Status | Description |
|---|---|
200 | OK |
cURL Request
curl -X DELETE https://gateway.vigasoft.lu/bizzlink/email-templates/{id} \
-H "Authorization: Bearer $API_TOKEN" \
-H "X-Bizzlink-Signature: t=$TIMESTAMP,v1=$SIGNATURE"Get a specific email template
GET
/bizzlink/email-templates/{id}Get a specific email template
Responses:
| Status | Description |
|---|---|
200 | OK |
Response Body — JsonApiScopedDocumentEmailTemplateAttributes:
| Field | Type | Description |
|---|---|---|
data | JsonApiScopedResourceEmailTemplateAttributes |
cURL Request
curl -X GET https://gateway.vigasoft.lu/bizzlink/email-templates/{id} \
-H "Authorization: Bearer $API_TOKEN" \
-H "X-Bizzlink-Signature: t=$TIMESTAMP,v1=$SIGNATURE"Response
200 OK{
"data": {
"attributes": {
"content": "string",
"createdAt": "2026-01-01T00:00:00Z",
"name": "string",
"subject": "string",
"updatedAt": "2026-01-01T00:00:00Z"
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"meta": {
"scope": {
"type": "legal-entity",
"value": "9938:lu28079289"
}
},
"type": "email-templates"
}
}Update an email template
PATCH
/bizzlink/email-templates/{id}Update an email template
Request Body:
| Field | Type | Required | Description |
|---|---|---|---|
data | object | Yes |
Responses:
| Status | Description |
|---|---|
200 | OK |
Response Body — JsonApiScopedDocumentEmailTemplateAttributes:
| Field | Type | Description |
|---|---|---|
data | JsonApiScopedResourceEmailTemplateAttributes |
cURL Request
curl -X PATCH https://gateway.vigasoft.lu/bizzlink/email-templates/{id} \
-H "Authorization: Bearer $API_TOKEN" \
-H "X-Bizzlink-Signature: t=$TIMESTAMP,v1=$SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"data": {}
}'Response
200 OK{
"data": {
"attributes": {
"content": "string",
"createdAt": "2026-01-01T00:00:00Z",
"name": "string",
"subject": "string",
"updatedAt": "2026-01-01T00:00:00Z"
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"meta": {
"scope": {
"type": "legal-entity",
"value": "9938:lu28079289"
}
},
"type": "email-templates"
}
}