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

# Accept a call

`POST /whatsapp/calls/accept`

Accepts an inbound WhatsApp call.

Once the WebRTC connection is made, this endpoint is used to accept the call.
Media will begin flowing immediately since the connection was established prior to call connect.

## 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 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)
