getCurrentCallId()

Note: This API is supported from version 0.0.1.

The currentCallId() retrieves the conversation ID of the current ongoing call.

Returns

  • String: ID of the conversation.

Example

CopiedZohoSalesIQCalls.getCurrentCallId().then((id) => {
  console.log("currentCallId: " + id);
}).catch((error: Error) => {
  console.error("Error getting current call ID: " + JSON.stringify(error, null, 2));
});