Skip to main content

AddressProfileInput

slugstringrequired

3-30 chars, lowercase letters/numbers/hyphens. Ignored on PATCH (the URL slug is authoritative).

Example: kofi
phonestring
Example: +233241234567
display_namestring
Example: Kofi Mensah
hex_codestring

Optional AfriHex hex code for this location

Example: AK-484-9321
latnumber<double>required
Example: 5.6037
lngnumber<double>required
Example: -0.187
labelstring

Human-readable description of the spot

Example: Blue gate opposite Goil, third house
notesstring
alert_emailstring

Required if flood_alerts_on is true

Example: kofi@example.com
flood_alerts_onboolean

Opt in to proactive flood alerts for this saved location

AddressProfileInput
{
"slug": "kofi",
"phone": "+233241234567",
"display_name": "Kofi Mensah",
"hex_code": "AK-484-9321",
"lat": 5.6037,
"lng": -0.187,
"label": "Blue gate opposite Goil, third house",
"notes": "string",
"alert_email": "kofi@example.com",
"flood_alerts_on": true
}