WaterMinder X-Callback-URL

Updated 04202023-193319



⠀ WaterMinder 3.6 and later for iOS supports x-callback-url, allowing other apps to call certain actions like logging a drink. Below you will find documentation which actions/parameters are available.

URL Scheme

Used scheme is waterminder://

Every action can be called via the x-callback-url API using the following format:

waterminder://x-callback-url/[action]?[parameter]&[parameter]

Any blank space must be replaced with %20

Available Actions

add-water

This action logs water.

Parameters:

⠀ Example: waterminder://x-callback-url/add-water?amount=100

add-caffeine

This action logs caffeine.

Parameters:

⠀ Example: waterminder://x-callback-url/add-caffeine?amount=115&time=09/04/2021T13:17

add-other

This action logs drink with specified other drink type.

Parameters:

Drink Type Identifiers:

⠀ Example: waterminder://x-callback-url/add-other?type=carbonated_water&amount=250

log-cup

This action logs entry using your pre-defined cup name.

Parameters:

⠀ Example: waterminder://x-callback-url/add-cup?cupName=my%20mug