uuid, create a group or find it in the group’s settings in your community.
Before you start, read the API overview for how authentication, headers, pagination and errors work.
Find users in a group
Check whether a user is already in a group. Matching users are returned in an array, and the array is empty when nothing matches.string
required
The UUID of the group.
string
An email address, or part of one, to match against the group’s users.
Find users in a group
GET https://your-community.zapnito.com/api/v1/groups/:uuid/users
Add a user to a group
Add a known user to a group.string
required
The UUID of the group to add the user to.
string
required
The email address of the user to add.
Add a user to a group
POST https://your-community.zapnito.com/api/v1/groups/:uuid/users
200 OK: the user was added, or already belongs to the group. If they already belong, the response carries anerrorsmessage instead:User alex.smith@example.com already belongs to group Expert Users with UUID GROUP_UUID.401 Unauthorized: your API token is invalid, expired or badly formatted. See authentication.404 Not Found: no group matches the UUID, or no user matches the email address. The messages readGroup not found for UUID: '...'andUser not found for email: '...'.
Remove a user from a group
Remove a known user from a group.string
required
The UUID of the group to remove the user from.
string
required
The email address of the user to remove.
Remove a user from a group
DELETE https://your-community.zapnito.com/api/v1/groups/:uuid/users
200 OK: the user was removed, or wasn’t in the group. If they weren’t in the group, the response carries anerrorsmessage instead:User jordan.lee@example.com does not currently belong to group Expert Users with UUID GROUP_UUID.401 Unauthorized: your API token is incorrect or expired. See authentication.404 Not Found: no group matches the UUID, or no user matches the email address. The messages readGroup not found for UUID: '...'andUser not found for email: '...'.

