CreateBlogSupport
Log inSign up
Home
Webex Contact Center
  • Overview
  • Guides
  • API REFERENCE
  • AI
  • Campaign Management
  • Configuration
  • Data
  • Desktop
  • Journey
  • Media And Routing
  • Changelog
  • SDK
  • Widgets
  • Customer Journey Data Service
  • AI Assistant for Developers
  • Webhooks
  • Contact Center Sandbox
  • Using Webhooks
  • Troubleshoot the API
  • Beta Program
  • Webex Status API
  • Contact Center Service Apps
  • FAQs

Webex Contact Center

UserState

The UserState component displays and manages the agent's current state in the contact center system.

The UserState component provides a user interface for agents to view and change their availability status. Common agent states include:

  • Available
  • Meeting
  • Custom states (These can be set in the Admin Portal)

Some of the states that can occur when call gets involved

Non error cases:

  • Engaged
  • RONA (Redirect On No Answer)

Error cases:

  • Invalid Number
  • Unavailable
  • Declined
  • Busy
  • Channel Failure

Look and feel:

  1. 1-userstate.png
  2. 2-userstate.png
  3. 3-userstate.png
  4. 4-userstate.png
  5. 5-userstate.png

anchorImport

anchor
import { UserState } from '@webex/cc-widgets';

anchorProps

anchor
PropTypeRequiredDescription
onStateChange(newState) => voidNoCallback function triggered when the agent's state changes

anchorUsage Example

anchor
<UserState onStateChange={(newState) => console.log('New state: ', newState)} />

anchorFeatures

anchor
  • Displays current agent state
  • Allows agents to change their state
  • Updates automatically based on system events

anchorConfiguration Notes

anchor
  • The component requires the store to be initialized with a valid access token
  • Agent state changes affect routing and task assignment
  • Make sure to wrap the component with ThemeProvider and IconProvider from Momentum Design
In This Article
  • Import
  • Props
  • Usage Example
  • Features
  • Configuration Notes
Related Resources
  • Kitchen Sink Demo
  • Widgets Changelog

    Connect

    Support

    Developer Community

    Developer Events

    Contact Sales

    Handy Links

    Webex Ambassadors

    Webex App Hub

    Resources

    Open Source Bot Starter Kits

    Download Webex

    DevNet Learning Labs

    Terms of Service

    Privacy Policy

    Cookie Policy

    Trademarks

    © 2026 Cisco and/or its affiliates. All rights reserved.