Set Phone Mode
- DarkLight
Set Phone Mode
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
This API allows a user to set phone mode to either a Softphone or Desk phone.
Pre-requisite
The Agent must be in the LoggedIn state.
Sequence Diagram
Message Structure
Request Parameters | Value |
---|---|
channel | Amazon |
topic | Agent |
subtopic | SetPhoneMode |
source | <<app-name-broadcasting-this-message>> |
data | JSON Object |
Data Parameters
Parameters | Data Type | Description | Example Data |
---|---|---|---|
type | String | Phone type. | Softphone or Desk Phone. |
extension | JSON Object | Deskphone number in E.164 format. |
Response Parameters | Value |
---|---|
channel | Amazon |
topic | Agent |
subtopic | SetPhoneModeSuccess |
message | Not Applicable |
Possible Error Cases
Error Type | Code | Message |
---|---|---|
SET_PHONE_MODE | Amazon Connect Failure Error Message. | Failed to set phone mode. |
Sample Request
{
"channel": "Amazon",
"topic": "Agent",
"subTopic": "SetPhoneMode",
"source": "myapp"
}
Sample Response
{
"channel": "Amazon",
"topic": "Agent",
"subtopic": "SetPhoneModeSuccess",
"message": null
}
Was this article helpful?