Skip to content

Introduction ​

This documentation gathers all the integrations Dokicasa offers to partners, organized into chapters:

  • Form integration — create/manage practices, either from your backend (server-to-server) or by embedding the form in your site with the JavaScript SDK.
  • Market Scanner integration — real estate/cadastral data, deeds, inspections, realtime updates.
  • PDF Seals — apply one or more seals to a document and attach it, certified and numbered, to the bundle step.
  • Electronic signature — have one or more PDFs signed with a simple, advanced or qualified signature, and receive the events by webhook.
  • Direct access (SSO) — your users enter Dokicasa from your site, without a password, with a one-time link.
  • Property report — from cadastral references alone, a property's data by group: cadastre, map, owners, valuation, comparables and more.

Environments ​

Form / Practices ​

EnvironmentAPI base URL
Productionhttps://app.dokicasa.it
Sandbox / staginghttps://testing.dokicasa.it (on request)

Market Scanner ​

EnvironmentAPI base URL
Productionhttps://api.dokicasa.it
Sandboxhttps://api-dev.dokicasa.it

NOTE

The practices flow endpoints are served by app.dokicasa.it (prefix /api/v3); Market Scanner data by api.dokicasa.it (sandbox on api-dev.dokicasa.it).

Authentication ​

Depending on the integration, three mechanisms are used.

1. api_token (Bearer) — server-to-server calls ​

Most practice endpoints are protected by auth:api: pass the partner/user token in the Authorization header.

bash
curl https://app.dokicasa.it/api/v3/user/me/services \
  -H "Authorization: Bearer <api_token>" \
  -H "Accept: application/json"

The token identifies the user: each partner operates on their own practices.

2. user_token — SDK in the browser ​

The <dokicasa-form> SDK runs in the browser, where the api_token must never end up. Your server uses it to request a user_token valid for one hour, and that's what you pass to the page. No additional key is needed.

See the details in JavaScript SDK → The token.

To let one of your users into Dokicasa without a password, your server uses the api_token to request a one-time link valid for 5 minutes and redirects the browser to it. See Direct access (SSO).

The key concept: external_id ​

When you create a practice you can attach your own identifier (external_id): you'll need it to look up that practice in later reads (filter[external_id]), linking it to your system.

You create the practice  ──(external_id: "order_8842")──►  Dokicasa
                                                             │
   Read status/tasks ◄──(filter[external_id]=order_8842)─────┘

Typical end-to-end flow ​

  1. Create the practice → POST /api/v3/form/{slug} (with external_id).
  2. Read your practices → GET /api/v3/user/me/services?filter[external_id]=…
  3. Status of a single practice → GET /api/v3/practices/{practice}
  4. Tasks of the practice → GET /api/v3/practices/{practice}/tasks
  5. React to events via webhooks (practice.*).

For AI assistants

Ready-made prompts (CLAUDE.md) describe the whole flow with end-to-end examples and a checklist — handy if you integrate via Claude Code, Cursor or Copilot.