# API minutes\_out Push Notifications

**URL:** <https://discussions.flightaware.com/t/api-minutes-out-push-notifications/72880>\
**Category:** AeroAPI\
**Created:** [January 14, 2021, 5:41pm UTC](https://discussions.flightaware.com/t/api-minutes-out-push-notifications/72880 "2021-01-14T17:41:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chartermatrix](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/chartermatrix/32/77305_2.png) [@chartermatrix](https://discussions.flightaware.com/u/chartermatrix)\
**Post date:** [January 14, 2021, 5:41pm UTC](https://discussions.flightaware.com/t/api-minutes-out-push-notifications/72880/1 "2021-01-14T17:41:27Z")

</div>

We are currently subscribing to aircraft using the API (SetAlert) with the channel set to

```
{minutes_out 30} {16 e_filed e_departure e_arrival e_diverted e_cancelled}

```

We are receiving the departure, arrival, filed, etc eventcodes but notand events with the eventcode “minutes\_out”. Based on the output of GetAlerts, it looks like we are successfully subscribed to the minutes\_out channel. E.g.

{  
“alert\_id”: 1000,  
“enabled”: true,  
“description”: “Registration/Tail # …”,  
“type”: “General\_Aviation”,  
“ident”: “…”,  
“user\_ident”: “”,  
“aircrafttype”: “”,  
“origin”: “”,  
“destination”: “”,  
“date\_start”: 0,  
“date\_end”: 0,  
“channels”: [  
{  
“channel\_id”: -1,  
“channel\_name”: “minutes\_out”,  
“mask\_summary”: “30”  
},  
{  
“channel\_id”: 16,  
“channel\_name”: “FlightXML push”,  
“mask\_summary”: “meetingFlight”,  
“e\_filed”: true,  
“e\_departure”: true,  
“e\_arrival”: true,  
“e\_diverted”: true,  
“e\_cancelled”: true,  
“target\_address”: “…”  
}  
],  
“alert\_created”: 1610458288,  
“alert\_changed”: 1610549063  
},

Any thoughts?

---

<div class="post-metadata">

**Author:** ![conej730](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/conej730/32/122980_2.png) [@conej730](https://discussions.flightaware.com/u/conej730)\
**Post date:** [January 16, 2021, 8:08pm UTC](https://discussions.flightaware.com/t/api-minutes-out-push-notifications/72880/2 "2021-01-16T20:08:10Z")

</div>

You need to include the `e_eta` mask when setting up the alert to get the minutes\_out alert FYI.
