API reference
Segments & templates
Read-only listings of the workspace's segments and message templates — mainly used to discover ids for other calls and integrations.
GET
/v1/segmentsLists running segments (id and name).
[
{ "id": "seg-uuid", "name": "Dubai buyers" },
{ "id": "seg-uuid-2", "name": "Hot leads (score > 80)" }
]GET
/v1/templatesLists message templates (id and name). Use a template id with the Transactional API.
[
{ "id": "tmpl-uuid", "name": "viewing_reminder" },
{ "id": "tmpl-uuid-2", "name": "order_confirmation" }
]