Legacy Dev Forum Posts

 View Only

Sign Up

Notification when new agent registered

  • 1.  Notification when new agent registered

    Posted 06-05-2025 18:01

    Dmitriy_Gusev | 2018-04-06 10:26:03 UTC | #1

    Hi! Is there any notification event, which fires, when new agent registered?

    I have a code which retrieves list of all agents, and creates a subscription per each agent. But, if new agent registered, my channel doesn't know about that. So it will not listen for new agents events.

    How can i handle that case?


    tim.smith | 2018-04-06 14:46:08 UTC | #2

    There isn't a notification topic for that. You'll have to periodically check for new users. The best way to do that is to make a request to GET /api/v2/users and check the total property on the response. Compare it to the last count you got and you'll know if there are any new users. Then you can get the list of users and find the new one.


    system | 2018-05-07 14:54:03 UTC | #3

    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: 2708