Update Call Status
PATCH /calls/{call_id}/update/
Use the PATCH
/calls/{call_id}/update/
endpoint to update the status of a call. This helps the backend know whether the call was answered, declined, or has another status.
Important: This endpoint should not be used to end the call.
Parameters
data (body): The request body object that contains the call status.
status (string): The status of the call. Possible values include:
answered
declined
ended
pending
call_id (path): The unique identifier of the call that you want to update.
Example Request Body
{
"status": "answered"
}
Responses
200 OK: The call status was successfully updated.
Example Response
{
"status": "answered"
}
Last updated