CadFiles provides API patterns that scale from “simple & affordable” to “enterprise-grade”. Start with REST + webhooks, then add async jobs, streaming updates, or GraphQL when you need it.
These are the integration styles most SaaS products use — listed by cost/complexity.
Standard endpoints for companies, financial datasets, templates, and exports.
Push events to clients (import finished, report generated, dataset updated).
Export large datasets or import mappings in one operation.
Start a long task, return a job id, poll status, download result.
Streaming progress logs for imports and report builds (simple, browser-friendly).
Flexible queries when clients need “exact fields only” across many objects.
Central entry point for auth, rate limits, logs, routing.
Fast binary service-to-service APIs (usually internal only).
Enterprise pipeline for large-scale ingestion and integrations.
These are the reliability & security fundamentals (like your inspiration image).
This is a sample shape of endpoints (adjust to your real routes later).
# List companies (paginated)
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://cadfiles.ai/api/v1/companies?page=1&per_page=25
# Get one company
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://cadfiles.ai/api/v1/companies/123
# Start a report build (async)
curl -X POST -H "Authorization: Bearer YOUR_TOKEN" \
https://cadfiles.ai/api/v1/reports \
-d '{"company_id":123,"layout_id":55,"years":[2023,2024]}'
# Poll job status
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://cadfiles.ai/api/v1/jobs/abcd-1234