The availability state this reason represents
OptionalreasonThe display text or description of the reason. Optional for status changes where only the type is required.
OptionaleliteElite PBX auxiliary code associated with this reason.
Present only for reasons configured with an Elite PBX mapping (typically away or
busy reasons used by hybrid/Elite agents).
The SDK already filters away/busy reasons without an eliteAuxCode out of
User.getAssignableReasonCodes for Elite users, so consumers don't usually have to.
undefined when the reason has no Elite mapping configured.
A reason code representing an agent status or queue logout reason.
Each
ReasonCodehas atype(a ReasonType value such asAVAILABLEorAWAY) that identifies the availability state, and an optionalreasonstring that holds the human-readable label configured for that status in your contact center.Reason codes are fetched from the platform via User.getAssignableReasonCodes and are passed directly to User.changeStatus to update the agent's status.
Example
Example