Groups
Manage participants
POST
https://api.batzap.com/v1/group-participantsAdds, removes, promotes or demotes group participants. The sending number must be an admin of the group.
For add, people whose privacy settings block being added show up in failures with status 403: use Invite people to a group to send them the link instead.
- Scope
- groups:write
- Rate limit
- Send · 10/min, 300/day
Body parameters
jidstringrequiredGroup JID, ending in @g.us.
participantsstring[]requiredPhone numbers or JIDs.
actionstringrequiredWhat to do with them.
addremovepromotedemoteintegration_iduuidoptionalWhatsApp number to act from (see List integrations). Filled in automatically when the key is restricted to a single number.
Errors
400Invalid JID, empty
participants, invalid action, or the number is not a group admin.Plus the errors every route can return: see Errors.
