Retrieve A email Notifier Pattern
Retrieve a specific email notifier pattern details
HTTP Request
GET/api/notifications/notifiers/email notifiers/:notifier_id/patterns/:id
Authorization
Authorization
- Required: Yes
- Permission: Staff with EmailPatternsPermission or Admin
- Permission Code: 2842
- Authentication: Token-based (Authorization: Token <your_api_key>)
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| notifier_id | Integer | Yes | Unique ID of the email notifier |
| id | Integer | Yes | Unique ID of the email pattern |
Example Requests
- 🐍 Python
- 🌐 Curl
1import requests
2response = requests.get('http://www.example.com/api/notifications/notifiers/email/1/patterns/4', headers={
3 'Authorization': 'Token <your_api_key>'
4})
5
6print(response.json())1curl
2curl -X GET "http://www.example.com/api/notifications/notifiers/email/1/patterns/4" -H "Authorization: Token <your_api_key>"Response Fields
| Field | Type | Description |
|---|---|---|
| id | Integer | Unique ID of the email pattern. |
| name | String | Name of the email pattern (unique over the specific email notifier) |
| description | String | Extra descrtiption of the email pattern (nullable) |
| from_email | String | from email of the pattern (nullable) |
| subject | String | Subject of the email |
| body_text | String | Text body of the email pattern |
| body_html | String | Html body of the email pattern (nullable) |
| created_at | String (ISO 8601) | Timestamp when the email pattern was created. |
| updated_at | String (ISO 8601) | Timestamp when the email pattern was last updated. |
Response Example
{
"id": 3,
"name": "order_status_changed",
"description": "used for sending status changes",
"from_email": "info@hamgam.online",
"subject": "hamgam order status changed",
"body_text": "Order number {0} is in {1} status",
"body_html": null,
"created_at": "2025-12-28T18:14:22.251792Z",
"updated_at": "2025-12-28T18:14:22.251799Z"
}