Retrieving Type of Interaction when using the bpspat API

We listening for the INTERACTION_RENDERED event, we get the event data as follows {“command”:“INTERACTION_RENDERED”,“data”:{“item_id”:“xxx”,“global_id”:“xxx”,“service”:“xx”,“email”:“xx”,“screenpop_data”:{}}} or it will have the phone_number property for interactions with phone numbers but we don’t know whether is a voice call or perhaps an SMS. Is there a way to retrieve the type of the interaction(call, chat, email) perhaps using the item_id?

not in this API. We’re working on a new project “new Agent Desktop” and as a part of it there is an API which allows to do that. We can provide you an early access soon to the system with new widget and new API