Form integration
✦
Integrate with an AI assistant
Download or copy the integration prompt for Form integration and paste it into Claude Code, Cursor or Copilot: it contains auth, end-to-end examples and a checklist.
The "form" is the flow used to create and manage a Dokicasa practice (e.g. a rental contract). You can integrate it in two ways — pick based on your use case:
| Server-to-server | JavaScript SDK | |
|---|---|---|
| Runs on | Your backend | The end user's browser |
| Auth | api_token (Bearer) | api_key + user_token |
| UI | You build it | Ready-made <dokicasa-form> |
| When | You already have the data and want to create practices automatically | You want the user to fill in the form on your site |
Both converge on the same read endpoints:
GET /api/v3/user/me/services— list practices (filterable byexternal_id)GET /api/v3/practices/{practice}— detail + statusGET /api/v3/practices/{practice}/tasks— practice tasks
INFO
You can also mix the two: create the practice server-to-server and then show its status/tasks in your dashboard, or embed the form with the SDK and read the results from your backend.