create or update one override. Validated against the catalog; emits `message_template.updated`.
PUT
Secret API key operationId: upsert/v1/applications/{id}/templates Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Path parameters
idstring<uuid> requiredApplication id
Request body · required
bodystring requiredchannelstring requiredlocalestring requiredsubjectstringtemplatestring required
Responses
200 Saved
{
"data": {
"body": "string",
"channel": "string",
"id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
"locale": "string",
"subject": "string",
"template": "string",
"updated_at": "2026-01-15T09:30:00Z"
},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 422 Unknown template or invalid locale/body
Request
curl -X PUT "http://localhost:8080/v1/applications/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/templates" \
-H "Content-Type: application/json" \
-d '{
"body": "string",
"channel": "string",
"locale": "string",
"subject": "string",
"template": "string"
}'Try it
live requestPUT
http://localhost:8080/v1/applications/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/templates