Templates
Manage Email Templates
Create and manage the templates used for incident notifications.
HTTP Method & URL: GET /api/admin/EmailTemplate/getall
Request
- Headers
- cURL
| Name | Value | Required | Description |
|---|---|---|---|
X-API-KEY | string | Yes | Your unique API key. |
curl -X GET "https://stg.itechops.com/api/admin/EmailTemplate/getall" \
-H "X-API-KEY: your_api_key_here"
Responses
- 200 OK
- 401 Unauthorized
- 500 Server Error
Description: Success. Returns a list of email templates.
{
"Success": true,
"Result": {
"Data": [
{
"TemplateId": "3fa85f64-5717-4562-b3fc-2c963f66afe1",
"Name": "Standard Incident Update",
"Subject": "Update regarding {{incident_title}}",
"IsActive": true
}
]
}
}
Description: Authentication failed.
Description: Internal server error.