Newer Version Available
declineAgentWork
Declines a work item that’s assigned to an agent. Available in API versions 32.0 and
later.
Syntax
Arguments
| Name | Type | Description |
|---|---|---|
| workId | String | The ID of the work item that the agent declines. |
| declineReason | String | The provided reason for why the agent declined the work request. |
| callback | function | JavaScript method to call when an agent declines the work item associated with the workId. |