Push (v2)
Change push preferences
Send only the keys to change; enabled is the master switch for every push.
put/api/v2/push/preferences
Request
- Base URL: https://www.endlesstravelplans.com
- URL: https://www.endlesstravelplans.com/api/v2/push/preferences
- Auth: HTTP bearer
Request body
Example request
{
"enabled": true,
"pre_trip_countdown": true,
"packing_reminder": true,
"is_weekly_summary_enabled": true
}Response
Example response
{
"enabled": true,
"preferences": {
"pre_trip_countdown": true,
"packing_reminder": true,
"vote_notifications": false,
"are_trip_reminders_enabled": false,
"are_price_drops_enabled": false,
"is_family_activity_enabled": false,
"is_weekly_summary_enabled": false,
"wants_gear_recommendations": false,
"are_desktop_notifications_enabled": false
},
"topics": [
{
"topic": "vote_closing",
"preference": "vote_notifications",
"label": "Vote results"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.