CallInvite
https://zim-api.zego.im/
This API allows you to create a call invitation in normal mode.
After the call invitation is successfully created, the user who initiated the invitation (caller) will receive a notification that the invitation has been created through the following ZIM SDK callback:
| iOS | Android | macOS | Windows |
|---|---|---|---|
| callInvitationCreated | onCallInvitationCreated | callInvitationCreated | onCallInvitationCreated |
| Web | Mini Program | Flutter | React Native |
|---|---|---|---|
| callInvitationCreated | callInvitationCreated | onCallInvitationCreated | callInvitationCreated |
| Unity3D | uniapp | uniapp x | HarmonyOS |
|---|---|---|
| onCallInvitationCreated | callInvitationCreated | callInvitationCreated |
The invited users (callees) will receive a notification that they have been invited:
| iOS | Android | macOS | Windows |
|---|---|---|---|
| callInvitationReceived | onCallInvitationReceived | callInvitationReceived | onCallInvitationReceived |
| Web | Mini Program | Flutter | React Native |
|---|---|---|---|
| callInvitationReceived | callInvitationReceived | onCallInvitationReceived | callInvitationReceived |
| Unity3D | uniapp | uniapp x | HarmonyOS |
|---|---|---|
| OnCallInvitationReceived | callInvitationReceived | callInvitationReceived |
FromUserId and UserIds have logged in to the ZIM service by calling the login method on the client, or the developer has registered the relevant userID by calling the Server API.Request
Query Parameters
Possible values: [CallInvite]
API prototype parameter
https://zim-api.zego.im/?Action=CallInvite
💡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
