Skip to content

POST Create Channel Type endpoint.

Endpoint

POST/web/v1/system/notifications/channel-types/create WEB

Authentication

  • Chain: WEB
  • JWT Token: true
  • API Key: false
  • Permissions: ["platform:notification:write"]

Rate Limit

Standard rate limit applies.

Headers

Frontend Headers

HeaderRequiredDescription
X-LOCALEYes用户的 locale
Accept-LanguageNo语言偏好

Cloudflare Headers

HeaderRequiredDescription
CF-Connecting-IPYesClient IP from Cloudflare
CF-IPCountryYesClient country code
CF-RayYesCloudflare Ray ID
CF-VisitorYesVisitor scheme
CF-WorkerNoCloudflare Worker indicator
CF-TCP-PortNoClient TCP port
CF-Edge-Keep-AliveNoEdge keep-alive status
CF-Cache-StatusNoCache status
CDN-LoopNoCDN loop detection
X-Real-IPYesReal client IP

Nginx Headers

HeaderRequiredDescription
X-PORTAL-ACCESS-CODEYesPortal access code
X-Real-IPYes客户端真实 IP
X-Forwarded-ForYes代理链
X-Forwarded-ProtoYes协议

Request Parameters

Body (JSON)

FieldTypeRequiredDescription
channelCategoryNotificationChannelTypeYes渠道类别 (必填)
typeNameStringYes类型名称 (必填)
typeDescriptionStringNo类型描述 (可选)
displayOrderIntegerNo显示顺序 (可选, 默认0)
iconUrlStringNo图标URL (可选)
extraConfigStringNo额外配置JSON (可选)

Response

200 OK

FieldTypeDescription
data.bizIdString业务ID
data.typeCodeString类型代码
data.typeValueInteger类型值
data.typeNameString类型名称
data.typeDescriptionString类型描述
data.typeStatusNotificationChannelTypeStatus类型状态
data.displayOrderInteger显示顺序
data.iconUrlString图标URL
data.extraConfigString额外配置JSON
data.createdAtInstant创建时间
data.updatedAtInstant更新时间

Phase 3 Simulation

SlaunchX Internal Documentation