CallAccept
https://zim-api.zego.im/
This API allows a user to accept a call invitation.
After the user accepts the invitation and enters the call, other users in the call will receive a notification of the call user status change through the following ZIM SDK callback:
| iOS | Android | macOS | Windows |
|---|---|---|---|
| callUserStateChanged | onCallUserStateChanged | callUserStateChanged | onCallUserStateChanged |
| Web | Mini Program | Flutter | React Native |
|---|---|---|---|
| callUserStateChanged | callUserStateChanged | onCallUserStateChanged | callUserStateChanged |
| Unity3D | uniapp | uniapp x | HarmonyOS |
|---|---|---|
| OnCallUserStateChanged | callUserStateChanged | callUserStateChanged |
Request
Query Parameters
Possible values: [CallAccept]
API prototype parameter
https://zim-api.zego.im/?Action=CallAccept
💡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.
Possible values: <= 32 characters
Accept the invitation for the user with this ID (who has logged in to the ZIM service by calling the login method on the client, or has completed registration by calling the Server API).
Possible values: <= 32 characters
Call ID.
Possible values: <= 2048 characters
Extended field, with a maximum length of 2 KB.
Responses
- 200
- application/json
