API Reference

150+ REST endpoints. Full OpenAPI 3.0 spec. Build custom integrations.

150+
Endpoints
REST
+ JSON
OpenAPI
3.0 Spec
Bearer
Token Auth
100
req/s Rate Limit

Authentication

InfraMinds AI uses Bearer token authentication. Obtain your API key from the dashboard under Settings > API Keys. Include the token in the Authorization header for every request.

# Example: Authenticate a request curl -X GET \ "https://api.inframinds.ai/api/method/real_estate.api.projects.get_project" \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..." \ -H "Content-Type: application/json"

Endpoints

MethodEndpointDescription
GET /api/method/real_estate.api.projects.get_project Retrieve project details by ID
POST /api/method/real_estate.api.projects.create_project Create a new construction or real estate project
GET /api/method/real_estate.api.dpr.get_dpr Fetch daily progress report by date and project
POST /api/method/real_estate.api.dpr.create_dpr File a new daily progress report via API
GET /api/method/real_estate.api.ra_bills.get_ra_bill Retrieve RA bill by ID or billing period
POST /api/method/real_estate.api.ra_bills.generate_ra_bill Generate a new RA bill from accumulated DPRs
GET /api/method/real_estate.api.quality.get_inspection Fetch quality inspection report
POST /api/method/real_estate.api.quality.create_ncr File a non-conformance report
GET /api/method/real_estate.api.procurement.get_po Fetch purchase order by ID
POST /api/method/real_estate.api.procurement.create_indent Create a material indent request
GET /api/method/real_estate.api.users.get_user Retrieve user profile and permissions
POST /api/method/real_estate.api.users.invite_user Invite a new user to the organization
GET /api/method/real_estate.api.inventory.get_stock Fetch current inventory levels by warehouse
POST /api/method/real_estate.api.inventory.adjust_stock Adjust inventory quantities
GET /api/method/real_estate.api.analytics.get_dashboard Fetch aggregated analytics for executive dashboard
POST /api/method/real_estate.api.analytics.export_report Export analytical report as PDF or Excel

Code Examples

GET — Retrieve Project Details

Fetch a project by its unique ID. Returns project metadata, BOQ reference, assigned team, and financial summary.

// GET /api/method/real_estate.api.projects.get_project const response = await fetch( 'https://api.inframinds.ai/api/method/real_estate.api.projects.get_project', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' } } ); const data = await response.json(); console.log(data.message);

POST — Create a Daily Progress Report

File a new DPR via API. Provide project ID, date, work items with quantities, labour count, and equipment usage.

// POST /api/method/real_estate.api.dpr.create_dpr const response = await fetch( 'https://api.inframinds.ai/api/method/real_estate.api.dpr.create_dpr', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ project_id: "PRJ-2026-0042", date: "2026-08-06", work_items: [ { boq_item: "BLD-CVL-001", quantity: 120, uom: "sqm" }, { boq_item: "BLD-CVL-004", quantity: 45, uom: "cum" } ], labour_count: 82, equipment: ["EXC-002", "CRN-007"], notes: "Plastering on 3rd floor and column casting for block C" }) } ); const data = await response.json(); console.log(data.message);