Resource
Contact groups
Group contacts for targeting — static lists or dynamic filters.
#About
Groups come in two flavors: static (you explicitly add/remove contacts) and dynamic (defined by a filter query that's evaluated at send time). Dynamic groups are perfect for "everyone tagged premium who hasn't bought in 30 days" kind of segments.
#Endpoints
- GET
/contact-groupsList all static and dynamic groups. - POST
/contact-groupsCreate a new group. Dynamic groups use a filter object. - PUT
/contact-groupsRename or re-filter an existing group. - DELETE
/contact-groupsDelete a group (contacts themselves are untouched).
GET
/contact-groupsList all static and dynamic groups.
SDK
TypeScript
POST
/contact-groupsCreate a new group. Dynamic groups use a filter object.
SDK
TypeScript
Request body
JSON
PUT
/contact-groupsRename or re-filter an existing group.
SDK
TypeScript
DELETE
/contact-groupsDelete a group (contacts themselves are untouched).
SDK
TypeScript