Get Direct Connects
    • Dark
      Light

    Get Direct Connects

    • Dark
      Light

    Article summary

    The Login API allows an Agent to log in to the CTI server of Acqueon Workspace . If the response is successful, the agent is signed into Softphone and is automatically placed in agent state set before logout.

    Pre-requisite

    The agent must be in the LoggedOut state.

    Sequence Diagram

    Message Structure

    Request Parameters

    Value

    channel

    Amazon

    topic

    Agent

    subtopic

    Login

    source

    <<app-name-broadcasting-this-message>>

    Response Parameters

    Value

    channel

    Amazon

    topic

    Agent

    subtopic

    LoginSuccess

    message

    JSON Object

    Message Parameters

    Parameters

    Data Type

    Description

    Example Data

    loginState

    Enum

    Login state of agent. Possible values: Refer AgentLoginState in Appendix.

    LoggedIn

    agentInfo

    JSON Object

    User details of agent. Refer AgentInfo in Appendix.

    NA

    agentState

    JSON Object

    Current state of agent. Refer AgentState in Appendix.

    Null

    rules

    JSON Object

    Contains list of buttons and their states. Refer Rules in Appendix.

    Null

    Sample Request

    {
        "channel": "Amazon",
        "topic": "Agent",
        "subtopic": "Login",
        "source": "myapp"
    }

    Sample Response

    {
        "channel": "Amazon",
        "topic": "Agent",
        "subtopic": "LoginSuccess",
        "message": {
            "loginState": "LoggedIn",
            "agentInfo": {
                "name": "Agent 1",
                "extension": "",
                "loginName": "agent1",
                "muted": false,
                "softphoneEnabled": false
            },
            "agentState": null,
            "rules": null
        }
    }


    Was this article helpful?

    What's Next
    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.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence