Developers
The Domaria API
Connect Domaria to your other tools (ERP, CRM, spreadsheets, Zapier/Make/n8n…): read your KPIs and properties, create contacts — with a revocable personal token.
Read (aggregated KPIs, properties) and contact creation (idempotent). No sensitive or destructive action goes through the API.
Get a token
From your Domaria workspace: Settings → Connections → API. Generate a token (shown once), copy it, and use it in the Authorization header. You can revoke it any time from the same page.
Base URL
https://app.domaria.fr/api/v1
Authentication header
Authorization: Bearer dmk_…
Endpoints
GET /api/v1/pingtests the connection — returns your agency and the token's scopesGET /api/v1/kpis?days=30your activity statistics over the period (days)GET /api/v1/propertiesyour property listPOST /api/v1/contactscreates a contact (idempotent by email) — “fill the CRM”
Example
curl -H "Authorization: Bearer dmk_…" https://app.domaria.fr/api/v1/ping
Expected response:
{
"ok": true,
"tenant": {
"organizationId": "…",
"agencyId": "…"
},
"scopes": [
"kpis:read"
]
}