Skip to content

Stop a Specific Audio Stream

Stop a single active audio stream on a call by its stream ID.

This endpoint stops streaming for a specific stream_id without affecting other streams that may be running on the same call. Once stopped, Vobiz closes the WebSocket connection for that stream and sends a Stream stopped status callback if configured.

HTTP Request

DELETEhttps://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/Stream/{stream_id}/

Path Parameters:

  • {auth_id} - Your account ID
  • {call_uuid} - UUID of the call
  • {stream_id} - ID of the stream to stop

Response

Returns HTTP 204 No Content on success.

Response - 404 Not Found
{
    "api_id": "correlation-id-uuid",
    "error": "Stream not found"
}

Example

cURL
curl -X DELETE 'https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/Stream/{stream_id}/' \
  -H 'X-Auth-ID: {auth_id}' \
  -H 'X-Auth-Token: {auth_token}'