Get stream event template
Changed onRetrieve a single event template by its ID.
Authentication: TextPeak API key in the Authorization header (see Authentication in the API Overview).
Request
- Base URLhttps://api.commpeak.com/textpeak
- URLhttps://api.commpeak.com/textpeak/stream_events/{id}
- AuthAPI key in header Authorization
Path parameters
Unique identifier of the resource.
Response
Successful Response
Example response
{
"activated": true,
"createdAt": "2026-03-01 09:00:00",
"eventKey": "verification_code",
"id": 21,
"language": "en",
"name": "Verification code",
"provider": "sms",
"sections": [
"Your CommPeak code is [code]"
],
"stream": {
"id": 5,
"name": "Marketing US"
},
"text": "Your CommPeak code is [code]",
"variablesMapping": {}
}Changes
- breaking
added the new path request parameter
id - breaking
response property
categorylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
externalStatuslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
identifierlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
languagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
the
response's property type changed fromarrayto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromarrayto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
added the new
emailenum value to theresponse property for the response status - warning
added the new
smsenum value to theresponse property for the response status - warning
added the new
telegram_botenum value to theresponse property for the response status - warning
added the new
telegram_privateenum value to theresponse property for the response status - warning
added the new
voiceenum value to theresponse property for the response status - warning
added the new
websocketenum value to theresponse property for the response status - warning
added the new
whatsapp_businessenum value to theresponse property for the response status - warning
added the new
whatsapp_privateenum value to theresponse property for the response status - info
api operation id
getStreamEventTemplateremoved and replaced withget_stream_event - info
the endpoint scheme security
APIKeyHeaderwas added to the API - info
api tag
Stream-Eventsadded - info
api tag
Stream event templatesremoved - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added
subschema #2to theresponse propertyanyOflist for the response status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking