Legacy Dev Forum Posts

 View Only

Sign Up

How to set alerting timeout of a email queue via the API

  • 1.  How to set alerting timeout of a email queue via the API

    Posted 06-05-2025 18:22

    sk_dk | 2022-06-29 09:26:58 UTC | #1

    I need to change alerting timeout of all my email queue, cannot see anyway to do that with the API

    /api/v2/routing/queues/{queueId}


    John_Carnell | 2022-07-08 12:09:46 UTC | #2

    Hi Soren,

    You need to use a PUT /api/v2/routing/queues/{queueId}. Since it is a PUT you will need to:

    1. Retrieve the queue record for the queue you are looking for by using GET /api/v2/routing/queues/{queueId}.
    2. Take the entire body of the returned record as the PUT Body, but change the value of your queue and change the:
         "email": {
          "alertingTimeoutSeconds": 200,
          "serviceLevel": {
            "percentage": 0.8,
            "durationMs": 86400000
          }
        }
      },
      }

    The value you will want to set is the alertingTimeoutSeconds attribute in the email block.

    I confirmed that this appropriate endpoint that was called by looking specifically at what endpoint our UI was calling and then using, the API Explorer to retrieve and update the record to verify that these APIs do the job.

    I hope that helps.

    Thanks, John Carnell Manager, Developer Engagement


    sk_dk | 2022-07-08 07:21:09 UTC | #3

    Thanks it work fine :slight_smile:


    system | 2022-08-08 07:21:37 UTC | #4

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