Twilio Flex Capabilities

Last updated: October 8, 2024

After this article...

You'll understand the capabilities our Twilio Flex integration provides, and how Lumos interacts with the Twilio API.

View users

Lumos can retrieve a list of active Twilio Flex users for the account you use to connect the Twilio Flex Integration.

Twilio API endpoints:

View a user's last activity

In Lumos, the last activity for a Twilio Flex user represents the last time a Flex UI user had a change to its activity, if a Flex UI user is inactive or offline. If the Flex UI User is active while integration data is being synced, then the user's last activity is the last time Twilio Flex integration data was synced.

Twilio API endpoints:

View a user's entitlements

Lumos can retrieve the following user entitlements from Twilio.

  • Account Type - This is an entitlement given to every user, indicating that the user’s information represents that of a Twilio Flex UI User.

  • Account Roles - The account’s Flex UI user roles, as well as any additional user roles that have been passed in from an Idp as attributes when a user logs in via SSO.

Twilio API endpoints:

Account Roles: https://www.twilio.com/docs/usage/api/usage-record (We retrieve account roles from the attributes.roles field in a task router worker.)

Deprovision a user

AppStore

Offboarding

Access Reviews

License Management

N/A

In Lumos, deprovisioning a Twilio Flex user marks their Account Status as "Deprovisioned".

In Twilio Flex, this deletes the TaskRouter worker that represents the Flex UI User for the user who is being deprovisioned.

Twilio API endpointhttps://www.twilio.com/docs/taskrouter/api/worker#delete-a-worker-resource (We close a subaccount by making a DELETE request to the endpoint given in the documentation.)