Get all stream event templates
Changed onList all event templates in your account. Approved WhatsApp templates are synced from Meta before the list is returned.
Pagination. page (1-based, default 1) and itemsPerPage (default 30, at most 1000). The response is a plain JSON array.
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
- AuthAPI key in header Authorization
Query parameters
Page number (1-based).
Items per page, at most 1000.
Sort by ID.
Exact template ID.
Only templates of this stream ID.
Exact event key.
Delivery channel contains this text.
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
for the
queryrequest parameteritemsPerPage, default value30was added - breaking
response property
items/categorylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/externalStatuslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/identifierlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/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
deleted the
queryrequest parameter_page - 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 the/response property for the response status - warning
added the new
smsenum value to the/response property for the response status - warning
added the new
telegram_botenum value to the/response property for the response status - warning
added the new
telegram_privateenum value to the/response property for the response status - warning
added the new
voiceenum value to the/response property for the response status - warning
added the new
websocketenum value to the/response property for the response status - warning
added the new
whatsapp_businessenum value to the/response property for the response status - warning
added the new
whatsapp_privateenum value to the/response property for the response status - info
api operation id
getAllStreamEventTemplatesremoved and replaced withlist_stream_events - info
the endpoint scheme security
APIKeyHeaderwas added to the API - info
api tag
Stream-Eventsadded - info
api tag
Stream event templatesremoved - info
added the new optional
queryrequest parametereventKey - info
added the new optional
queryrequest parameterid - info
added the new optional
queryrequest parameterorder[id] - info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterprovider - info
added the new optional
queryrequest parameterstream - info
queryrequest parameteritemsPerPagelist-of-types was widened by adding typesnull - info
for the
queryrequest parameteritemsPerPage, the type was generalized fromintegerto no type - 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 the/response propertyanyOflist for the response status - info
added
subschema #1subschema #2to the/response 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