get
https://api.duodeal.app/api/templates/
Retrieves a single template by its ID.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Template unique identifier |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Template unique identifier |
title | string | Template title/name |
type | string | Template type: email, notice, or cgv |
content | string | Template content (HTML) |
subject | string | Email subject (for email templates) |
byDefaultSendDeal | boolean | Default template for sending quotations |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Response
200 OK: Returns the template details401 Unauthorized: Invalid or missing API key404 Not Found: Template not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Successful response
401Unauthorized
