InviteUsersIntoGroup
https://zim-api.zego.im/
By calling this API, you can batch add new members to a specified group. A maximum of 100 members can be added at a time. If you need to adjust this limit, please contact ZEGOCLOUD Technical Support.
After successful addition, all group members (including the added users) will receive relevant notifications through the following ZIM SDK callback interfaces:
| iOS | Android | macOS | Windows |
|---|---|---|---|
| groupMemberStateChanged | onGroupMemberStateChanged | groupMemberStateChanged | onGroupMemberStateChanged |
| Web | Mini Program | Flutter | React Native |
|---|---|---|---|
| groupMemberStateChanged | groupMemberStateChanged | onGroupMemberStateChanged | groupMemberStateChanged |
| Unity3D | uni-app | uni-app x | HarmonyOS |
|---|---|---|
| OnGroupMemberStateChanged | groupMemberStateChanged | groupMemberStateChanged |
FromUserId and UserId have logged in to the ZIM service by calling the login method on the client, or have completed registration by calling the server-side API.The parameters FromUserId, GroupId, and NewOwner only support numbers, English characters, and '!', '#', '$', '%', '&', '(', ')', '+', '', ':', ';', '<', '=', '.', '>', '?' , '@', '[', ']', '^', '_', '{', '}', '|', '~'.
Request
Query Parameters
Possible values: [InviteUsersIntoGroup]
API prototype parameter
https://zim-api.zego.im/?Action=InviteUsersIntoGroup
💡Public parameter. Application ID, assigned by ZEGOCLOUD. Get it from the ZEGOCLOUD Admin Console.
💡Public parameter. A 16-character hexadecimal random string (hex encoding of 8-byte random number). Refer to Signature example for how to generate.
💡Public parameter. Current Unix timestamp, in seconds. Refer to Signature example for how to generate, with a maximum error of 10 minutes.
Possible values: [2.0]
Default value: 2.0
💡Public parameter. Signature version number.
💡Public parameter. Signature, used to verify the legitimacy of the request. Refer to Signing the requests for how to generate an API request signature.
- application/json
Responses
- 200
- application/json
