REST API powering the PropDoc platform. Track properties, assets, and maintenance tasks — with health scores, scheduling, and push notifications built in.
All endpoints require a valid JWT in the Authorization: Bearer header.
/api/propertiesList all properties
/api/propertiesCreate a property
/api/properties/:idGet property details
/api/properties/:idUpdate property
/api/properties/:id/health-scoreProperty health score
/api/assetsList assets
/api/assetsCreate an asset
/api/assets/:idUpdate asset
/api/assets/:id/photosUpload asset photo
/api/tasksList maintenance tasks
/api/tasksCreate a task
/api/tasks/:idUpdate task
/api/tasks/:id/completeMark task complete
/api/schedulesList maintenance schedules
/api/schedulesCreate schedule
/api/schedules/:idUpdate schedule
/api/meCurrent user profile
/api/push/registerRegister push token
Authenticate, then call any endpoint with the returned access token.
const { data } = await supabase.auth
.signInWithPassword({
email: "you@example.com",
password: "••••••••",
});
const token = data.session?.access_token;const res = await fetch(
"https://api.getpropdoc.com/api/properties",
{
headers: {
Authorization: `Bearer ${token}`,
},
}
);
const { properties } = await res.json();