Get Notification Channel Types
GET
/web/v1/system/constants/notification-channel-types NoneRequired Gateway Headers
All API requests require gateway headers. See Required Headers for the complete list. In local/test environments, you must also include Cloudflare simulation headers (CF-Connecting-IP, Cf-Ray, cf-ipcountry).
Returns a list of available notification channel types (e.g., EMAIL, SMS, PUSH). The response is localized based on the Accept-Language request header.
Authentication
No authentication required. This is a public endpoint.
Request Parameters
None.
Success Response
Success 200
{
"code": "2000",
"message": "SUCCESS",
"data": [
{
"code": "EMAIL",
"value": 37010101,
"label": "Email",
"description": "Email notification channel"
},
{
"code": "SMS",
"value": 37010102,
"label": "SMS",
"description": "SMS notification channel"
}
]
}Response Fields
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Required | Enum name identifier (e.g., "EMAIL") |
value | integer | Required | 8-digit numeric code for API usage |
label | string | Required | Localized display name based on Accept-Language header |
description | string | Required | Localized human-readable description of the enum value |
Error Responses
| HTTP Status | Code | Message | Description |
|---|---|---|---|
| 500 | "5000" | "INTERNAL_SERVER_ERROR" | Unexpected server error |
Notes
- The
labelfield is localized; sendAccept-Language: zh-CNfor Chinese labels.