Skip to main content

Overview

Customers can save up to 2 emergency contacts in their profile. These contacts are available for safety purposes during active jobs — the app can notify them or display quick-dial options when the customer is stranded.

Endpoints

Upsert Emergency Contacts

Replace all contacts for the authenticated user. Sends an array of 1–2 contacts. Previous contacts are deleted.
Response (200):

List Emergency Contacts

Response (200):

Validation Rules

Calling PUT replaces all existing contacts. To remove all contacts, send an empty array (which will return a validation error — minimum 1 required). To delete all, the user must keep at least one or the app should handle the empty state gracefully.

Flutter Integration