Skip to main content
POST
End Call

Authorizations

x-api-key
string
header
required

Your application's unique ID.

x-api-secret
string
header
required

Your application's secret key.

Body

application/json

End call payload

Payload for ending an active call.

id
string
required

The _id of the WaCall record to terminate.

Example:

"64f1a2b3c4d5e6f7a8b9c0d1"

Response

Call terminated. Status is now END.

Generic success response for call action endpoints.

status
integer
Example:

200

success
boolean
Example:

true

error
null
Example:

null

msg
string
Example:

"Call accepted."