I am new to twilio and trying to develop a plugin that shows a dashboard with some data of the agent(who is logged in). Can anyone please let me know how do I get the SID of the current user in twilio?
Logged in Twilio Flex User SID
385 Views Asked by An User At
2
Twilio developer evangelist here.
The Flex Manager object has a
workerClient
property which gives you access to aTwilio.TaskRouter.Worker
object, which is the logged in worker. That worker object has asid
property.