Is there a way to expire web notifications? 

My support team is getting a lot of negative feedback from users about long queues messages waiting for then when the way their computers up from Sleep. Web notifications are coming from the API

Didn't find what you were looking for?

New post

Comments

1 comment

  • Hi Mike,

    You can expire web notifications sent via the API by using the time_to_live web override object in the request.

    Below is an example payload:

    {
    "audience": "all",
    "device_types": [
    "web"
    ],
    "notification": {
    "alert": "This message will expire in 60 seconds.",
    "web": {
    "time_to_live": 60
    }
    },
    "options": {
    "expiry": 60
    }
    }
    Comment actions Permalink
    0

Please sign in to leave a comment.