How can I access the callId in vapi web call sdk
# support
k
Hey everyone 👋 - Is it possible to access the callId through vapi web sdk? - I am having an issue while accessing the callId of current call. - I am using vapi web sdk, not the api call. Any idea or thoughts?
c
To access the call ID during a call using the Vapi Web SDK, you will typically find it in your call object once the call is initiated. It's essential to ensure that you are implementing your event listeners correctly to capture the call initiation event, where the call ID is usually available. If you haven't done so already, you might want to review the specific sections on setting up event listeners in the [Vapi Phone Calling documentation](https://docs.vapi.ai/phone-calling). This documentation provides crucial information regarding handling outbound and inbound calls, which should assist in capturing the required call details, including the call ID..
k
Thanks a lot for the clarification, really appreciate it! 🙌 I'll double-check my event listeners and refer to the docs you mentioned. That should help me get the call ID properly. Cheers!
c
Marketing this ticket as solved ✅
5 Views