SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

What is a Worker SID and Where Can I Find it?

Question

What is a Worker SID and where can I find it?

 

Product

Twilio Flex

 

Environment

legacy Twilio Console

 

Answer

A Worker SID is a 34-character alphanumeric identifier that begins with the letters WK and can be found in the following places:

  • Twilio Console
  • REST API

Where to find a Worker SID in the Twilio Console?

A Worker SID can be found in the Twilio Console by clicking on TaskRouter --> Workspaces --> [Workspace Name] --> Workers in the sidebar.

 

Where to find a Worker SID with the REST API?

Multiple Workers can be fetched via API "Read multiple Worker resources". 

With the Twilio CLI, Workers can be listed with:

twilio api:taskrouter:v1:workspaces:workers:list \
   --workspace-sid WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

And filtered by name with:

twilio api:taskrouter:v1:workspaces:workers:list \
   --workspace-sid WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
   --target-workers-expression "name IN ['Alice','Bob','Connie','David']"

 

Have more questions? Submit a request
Powered by Zendesk