Legacy Dev Forum Posts

 View Only

Sign Up

How can I get the offline presence notification immediately?

  • 1.  How can I get the offline presence notification immediately?

    Posted 06-05-2025 18:25

    Jack | 2023-02-24 10:41:54 UTC | #1

    I know that there is a period time of delay in the offline status, about 30 seconds, but when I logout from Genesys PureCloud desktop app or web app, the iframe will receive the logout notification immediately, the screenshot is attached. Question: How can I get the logout notification immediately?

    Blockquote

    We are using PureCloud .Net sdk to get presence change events in our application. All the presence change events are received immediately. But the offline status - which is triggered when the user Logs out of the Genesys PureCloud desktop app or web app, the offline status is received after some 30 seconds from the time when the user logs out.

    Blockquote


    tim.smith | 2023-02-24 14:21:21 UTC | #2

    Jack, post:1, topic:18583
    Question: How can I get the logout notification immediately?

    All notifications are sent at the time they occur. If you believe you are experiencing delay between when an event occurs and when the notification is received, please open a case with Care to investigate as customer-specific data cannot be investigated via the forum.


    Jack | 2023-02-27 01:39:38 UTC | #3

    Hi Smith, I think you misunderstand my point. What I need to know is how to get the logout notifications (the red words as the screenshot I attached in my case) through the API. I cannot find the logout notification API.


    Eos_Rios | 2023-02-27 02:47:22 UTC | #4

    Have you considered that's probably not so much an actual special specific notification being sent to the agent that they're logged out as an interpretation of a failure message from the agent's phone trying to do a constant barrage of things they were no longer authorized to do?

    The active heartbeat the rep's phone keeps with the platform would die and immediately throw an error the nanosecond they're no longer authorized, but that doesn't mean it's something you can subscribe to.


    tim.smith | 2023-02-27 14:13:52 UTC | #5

    Jack, post:3, topic:18583
    I cannot find the logout notification API.

    Genesys Cloud does not have a concept of logged in/out. That message is mislabeling some other activity because it's easier to just say "you're logged out" than to explain the nuance of that concept not existing in a toast message. If you want to know a user's availability, look at the user's presence.


    enricopreite | 2023-03-11 21:01:08 UTC | #6

    We use in architect the following API via data action:

    Get user presence: /api/v2/users/${input.USER_ID}/presences/PURECLOUD

    and the logout or disconnect arrives after 30s


    tim.smith | 2023-03-13 13:58:18 UTC | #7

    @enricopreite All notifications are sent at the time they occur. If you believe you are experiencing delay between when an event occurs and when the notification is received, please open a case with Care to investigate as customer-specific data cannot be investigated via the forum.


    system | 2023-04-13 13:58:35 UTC | #8

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 18583