FreshFlip Admin
Live API:
API: unknown
Authentication
Admin Token
Clear
Token (stored in your browser localStorage)
Save token
Tip: this is temporary. Later we’ll add real login (email + magic link).
Units
Loaded from
GET /api/units
Reload
—
Units
Unit
Status
Owner
Address
Create Unit
POST
/api/units
Owner user_id
Unit name
Address
iCal URL
Status
GREEN
YELLOW
RED
Timezone
Default checkout time
Create unit
Create User
POST
/api/users
Role
owner
cohost
cleaner
Name
Email
Phone
Create user
Create Turnover
POST
/api/turnovers
(returns cleaner magic link)
unit_id
cleaner_id (optional)
scheduled_date (YYYY-MM-DD)
Notes
Create turnover
Latest magic link
—
Quick Debug
Last API response/error
—