---
title: "Pre-accept a call"
method: POST
path: "/whatsapp/calls/preAccept"
tags: ["WhatsApp Calling"]
---

# Pre-accept a call

`POST /whatsapp/calls/preAccept`

Pre-accepts an inbound WhatsApp call.

Pre-accepting calls allows the calling media connection to be established before
attempting to send call media through the connection. This facilitates faster
connection times and avoids audio clipping issues.

## Request body

- WhatsappCallingPreAcceptRequest
  - `phoneId` string, required — The WhatsApp Business phone number ID.
  - `wacid` string, required — The WhatsApp call ID. Required for inbound call operations. This ID is received from the Call Connect webhook when a WhatsApp user initiates the call.
  - `sdpType` 'answer', required — The SDP type for pre-accept operations. Must be "answer".
  - `sdp` string, required — The Session Description Protocol (SDP) information compliant with [RFC 8866](https://datatracker.ietf.org/doc/html/rfc8866). Contains media session parameters for the WebRTC connection.

## Response `200`

The call pre-accept request is successfully processed.

- WhatsappCallingResponse
  - `wacid` string — The WhatsApp call ID associated with this calling operation.
  - `success` boolean, required — Indicates whether the calling operation was successful.

## Other responses

- `400` — Bad request. Invalid request parameters.
- `404` — The requested resource does not exist.

---

[API](https://skmtc.dev/ycloud/apis/ycloud-api.md) · [All operations](https://skmtc.dev/ycloud/apis/ycloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ycloud/ycloud-api/revisions/4e13d3ca9df8/schema)
