Skip to main content

Notifications: Read, Dismiss and Choose Alerts

Read and dismiss your Wheelhouse notifications and choose which alerts you get, through the RM API.

Written by Ryo

Use these endpoints to read and dismiss your Wheelhouse notifications, and to choose which alerts you get in the app or by email. They are the same notifications you see on the Notifications page in Wheelhouse.


GET /notifications

Returns your active notifications, newest first. Dismissed and expired notifications aren't included.

curl "https://api.usewheelhouse.com/ss_api/v1/notifications" \
-H "X-Integration-Api-Key: your_api_key_here"

Notification fields

  • id: the notification's ID, used to dismiss it

  • title / body_text: the notification's title and text

  • category: the notification's category

  • reference_type / reference_id: what the notification is about and its ID, for example MarketReport or PricePostingError

  • review_url: the Wheelhouse page to open for it, as a path such as /markets/v1/123/overview. Add it to https://app.usewheelhouse.com to get the full link

  • expires_at: when the notification stops being returned

  • created_at: when it was created


POST /notifications/dismiss

Dismisses one or more notifications by ID (204). Dismissed notifications no longer come back from GET /notifications.

curl --request POST "https://api.usewheelhouse.com/ss_api/v1/notifications/dismiss" \
-H "X-Integration-Api-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"ids": [501, 502]}'

Alert Settings

Each setting is an event and a channel (inapp or email). If a pair is in your settings, you get that alert on that channel. If it isn't, you don't.

GET /notification_settings

Lists the alerts you currently get.

curl "https://api.usewheelhouse.com/ss_api/v1/notification_settings" \
-H "X-Integration-Api-Key: your_api_key_here"
[
{"event": "price_posting_error", "channel": "email"},
{"event": "price_posting_error", "channel": "inapp"}
]

PUT /notification_settings

Turns alerts on or off. Only the settings you send change, and it returns your full settings afterwards.

curl --request PUT "https://api.usewheelhouse.com/ss_api/v1/notification_settings" \
-H "X-Integration-Api-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"settings": [
{"event": "market_report_updated", "channel": "email", "enabled": false},
{"event": "price_posting_error", "channel": "email", "enabled": true}
]}'
  • enabled: true turns the alert on for that channel, enabled: false turns it off

  • Turning on an alert that's already on (or off one that's already off) does nothing

Events

The names in Wheelhouse are from the Notification Settings page (Notifications, then Adjust Settings), where you can change the same alerts in the app.

  • price_posting_error: Price posting errors

  • market_report_updated: Market report updates

  • reminder: Reminders

  • sub_user_invite: Team invites

  • new_listing_created: New listings added

  • report_shared: Reports shared

  • report_comment_reply: Report comment replies

  • report_comment_mention: Report comment mentions

  • comp_set_v2_shared: Dynamic sets shared

  • api_spend_alert: API spend alerts (API only, not on the Notification Settings page)


Errors

  • 400: an unknown event or channel in PUT /notification_settings

  • 403: your API key is read-only. Read-only keys can list notifications and settings, but can't dismiss notifications or change settings

Did this answer your question?