Integrations
Constaia is a REST API: it works with any language. These integrations come with a ready-to-copy example.
- Next.jsFull-stackA route handler receives the file, calls Constaia with the SDK and returns the verdict. The key stays on the server.
npm i @constaia/sdk - ReactFrontendThe <constaia-upload> widget has a React wrapper: phone camera, quality check and upload to your backend.
npm i @constaia/widget - VueFrontendThe same widget with a Vue 3 wrapper; listen for the result event and show the verdict.
npm i @constaia/widget - AngularFrontendA service using HttpClient sends the file to your backend, which talks to Constaia.
# sin dependencias en el cliente - SvelteFull-stackA SvelteKit form action calls the SDK on the server and returns the verdict to the form.
npm i @constaia/sdk - Expo / React NativeMobileCapture with the camera in Expo and upload to your backend with FormData; the key never ships in the app.
npx expo install expo-image-picker - ExpressBackendmulter in memory and the JavaScript SDK: the file never touches disk.
npm i @constaia/sdk multer - LaravelBackendThe PHP SDK ships a ServiceProvider and facade: Constaia::analyze() in your controller.
composer require constaia/constaia-php - SymfonyBackendRegister Constaia\Client as a service and inject it into your controllers.
composer require constaia/constaia-php - WordPressCMSA REST endpoint in a minimal plugin, with the key in wp-config.php.
composer require constaia/constaia-php - DjangoBackendA view that forwards request.FILES to the API with httpx. Python SDK coming soon.
pip install httpx - FastAPIBackendUploadFile and httpx.AsyncClient; same pattern to verify webhooks.
pip install fastapi httpx python-multipart - n8nNo-codeHTTP Request node with multipart. Native node, Make and Zapier: coming soon.
HTTP Request node
And for the record…
Create your account, copy the test key and validate your first document in five minutes.