v1
latestOpenAPI 3.0.32026-07-24156161.2 MBStream event templates
Update stream event template
Update an event template. Only the fields you send are changed.
Authentication: TextPeak API key in the Authorization header (see Authentication in the API Overview).
put/stream_events/{id}
Request body
Example request
{
"name": "Verification code",
"streamId": 5,
"text": "Your CommPeak code is [code]",
"eventKey": "verification_code",
"activated": true
}Response
The updated template.
Example response
{
"id": 21,
"name": "Verification code",
"stream": {
"id": 5,
"name": "Marketing UK"
},
"text": "Your CommPeak code is [code]",
"eventKey": "verification_code",
"createdAt": "2026-03-01 09:00:00",
"activated": true,
"language": "en"
}