> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# CallUpgradePayload (interface)

[CallEvents](/api-reference/websdk5/call/callevents/overview)

If neither [CallUpgradePayload.accept](/api-reference/websdk5/call/callevents/callupgradepayload#accept) nor [CallUpgradePayload.reject](/api-reference/websdk5/call/callevents/callupgradepayload#reject)
is called within 8 seconds, the request is automatically rejected.

**Since:** 5.2.0

**Methods**

* [accept](/api-reference/websdk5/call/callevents/callupgradepayload#accept)
* [reject](/api-reference/websdk5/call/callevents/callupgradepayload#reject)

**Properties**

* [callId](/api-reference/websdk5/call/callevents/callupgradepayload#callid)
* [upgradeStatus](/api-reference/websdk5/call/callevents/callupgradepayload#upgradestatus)

## Methods

### accept

`accept(): void`

Accepts the call upgrade request and enables video receiving for the call.

To also send local video, use [Call.addStream](/api-reference/websdk5/call/call#addstream) after accepting.

**Returns:** void

### reject

`reject(): void`

Rejects the call upgrade request.

The call continues as audio only.

**Returns:** void

## Properties

### callId

`callId: string`

Call id

### upgradeStatus

`upgradeStatus: `[`ReadonlyWatchable`](/api-reference/websdk5/core/watchable/readonlywatchable)`<`[`CallUpgradeStatus`](/api-reference/websdk5/call/callupgradestatus)`>`

Watchable property that reflects the current state of the call upgrade request.

Initially set to [CallUpgradeStatus.Pending](/api-reference/websdk5/call/callupgradestatus#pending).