Set Phone Mode
    • Dark
      Light

    Set Phone Mode

    • Dark
      Light

    Article summary

    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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.