Decline or end call

Declines an incoming call or ends an active call.

Before you call

  • Your organization needs a calling licence or add-on, and the API key's user needs permission to receive calls for the call.
  • Send the callId of a call that is still ringing or in progress.

How it works

  • Hangs up the call on WhatsApp and updates the call in the chat.
  • The response's callStatus is REJECT for a declined ringing call and END for an ended call.
  • Returns 422 if the call is not found, already closed, its number is disconnected, or another user is on the call.
  • Browser (WebRTC) calls only: other calls return 400 Calling is not supported on this number.

Rate limit

  • 60 requests per minute.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
Responses
200

Call declined or ended

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json