Hold call session by it's session ID.
The unique ID of session.
The extension number to hold the session.
Ok
const response = await fetch('http://127.0.0.1:8888/api/sessions/{id}/hold', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "extension_number": {} }), }); const data = await response.json();