POST /v1/notifications/templates
NotificationService_CreateTemplate
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
body_templatestringchannelstringcodestringlocalestringsubject_templatestring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/notifications/templates' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"body_template": "<value>",
"channel": "<value>",
"code": "<value>",
"locale": "<value>",
"subject_template": "<value>"
}'Response contract
200 · OK
body_templatestringchannelstringcodestringcreated_atstringidstringlocalestringstatusstringsubject_templatestringversioninteger · int32
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.