Legacy Dev Forum Posts

 View Only

Sign Up

Alert API for Edge status change

  • 1.  Alert API for Edge status change

    Posted 06-05-2025 18:02

    MHC | 2021-01-05 02:54:43 UTC | #1

    Hi,

    Is there any alert API to get an alert in purecloud when Edge' onlineStatus and healthStatus have changed? Note that I want to use '/api/v2/telephony/providers/edges/{edgeId}' to get onlineStaus and healthStatus metrics.

    Use case: we want to get alert whenever Edges have disconnected or unhealthy so that we can respond to the outage/failure immediately.

    Thank you, Monica


    ighort | 2021-01-08 22:19:36 UTC | #2

    I believe one way of doing that is to create a cronjob to run a script to check the edge status (using api) and trigger your alert (email) or something else


    MHC | 2021-01-12 00:12:14 UTC | #3

    Thank you ighort :)


    Daniel_Grosso | 2021-01-22 13:44:47 UTC | #4

    Hello Monica.

    If your organization (or your client) already has relatively recent alerting platform it will mostly likely have support to REST API probes. I suggest you create an Oauth client just for that purpose. It's safer (because you can scope it just for your purpose) and will help you monitor if the polling is affecting your api usage quotas.

    Regards, Daniel


    system | 2021-02-22 13:44:48 UTC | #5

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