Agent State Synchronization
    • Dark
      Light

    Agent State Synchronization

    • Dark
      Light

    Article summary

    This API is used to provide the latest Agent state.

    Pre-requisites

    The application registration must be completed.

    Sequence Diagram

    Message Structure

    Request Parameters

    Value

    channel

    Amazon

    topic

    Agent

    subtopic

    StateSync

    source

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

    Response Parameters

    Value

    channel

    Amazon

    topic

    Agent

    subtopic

    StateSync

    message

    JSON Object

    Message Parameter

    Parameters

    Data Type

    Description

    Example Data

    loginState

    Enum

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

    LoggedOut

    agentInfo

    JSON Object

    User details of the agent. Refer AgentInfo in Appendix.

    NA

    agentState

    JSON Object

    Current state of the agent. Refer AgentState in Appendix.

    NA

    rules

    JSON Object

    Button state rules. Refer Rules in Appendix.

    NA

    Sample Request

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

    Sample Response

    {
        "channel": "Amazon",
        "topic": "Agent",
        "subtopic": "StateSync",
        "message": {
            "loginState": "LoggedOut",
            "agentInfo": null,
            "agentState": null,
            "rules": ""
        }
    }


    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.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence