Groups represent a collection of users, that are themselves represented as users, and which can have their own traits, and perform actions. In contrast to segments, group ids are fully dynamic. So for example, a user can be assigned to a group, “group-123” without defining any resources in advance.Documentation Index
Fetch the complete documentation index at: https://docs.dittofeed.com/llms.txt
Use this file to discover all available pages before exploring further.
Assigning Users to a Group
Users can be assigned to a group by submitting a Group event using the Group endpoint.POST /api/public/apps/group
POST /api/public/apps/group
POST /api/public/apps/track
Unassigning Users from a Group
To unassign a user from a group, you can use theassign flag and set it to false.
POST /api/public/apps/group
Retrieval
You can retrieve groups for a user with the/groups/user-groups endpoint.
You can also retrieve all users for a group with the /groups/users endpoint.
Examples
Parents and Children
Imagine you’re running a school. Your users in Dittofeed are the parents whose contacts you’ve imported. Parents share children between them. So for example, John and Jane are both parents of Sam. You can represent this in Dittofeed by creating a group for Sam, and then adding John and Jane as members.POST /api/public/apps/group
POST /api/public/apps/group
/groups/users endpoint.
GET /api/admin/groups/users

