Notifications
Sometimes a device needs its owner: a manufacturer connection lapses, a subscription runs out, or Podero has something to tell them about how their device is being optimized. This page covers how to build that experience — showing users what needs attention and guiding them through fixing it. How you learn something is pending is up to you: receive a push via webhooks or poll the endpoints below. The journey from there is the same.Show a notification badge
GET /org/{org_id}/notifications/status returns pending counts per device type — ideal for badges without fetching full lists:
action_required items block optimization until the user acts; information_available items are notices to read. Render them with different urgency.
List what needs attention
GET /org/{org_id}/notifications/actions returns everything the user still needs to see, newest first — blocking actions and unread notices merged into one list. Filter with owner_id, device_id, or device_type:
code:
Resolve a reauthentication
Areauthenticate action means the manufacturer connection has lapsed and optimization is paused for that device. Walk the user through reconnecting:
1
Start the action
POST to the item’s resolution_link.url with the parameters named in required_parameters:2
Redirect the user
Send the user to
redirect_url. They re-authenticate with the manufacturer, then land back on your success_url (or cancel_url if they abort).3
Report the outcome
From your On
success_url / cancel_url handler, report how it went so the action is marked done (or stays available to retry):success the action disappears from the pending list and optimization resumes. On fail it stays pending and the user can retry from step 1.Dismiss an information notice
Information items need no flow — showmetadata.message and let the user dismiss it by calling its resolution_link (no body required):
information_available count, but stays retrievable in the history via GET /notifications/information with dismissed: true.
Skip the polling: webhooks
Instead of pollingstatus, register a notification webhook and Podero pushes a signed message the moment something needs attention. The message’s data carries owner_id, device_id, and device_type — pass them straight into the endpoints above to fetch exactly what changed, then notify the right user in your app.
Next Steps
Notifications
Set up webhook push delivery
Dashboard Integration
Show device status and live readings
