Partners / API
Partner API
Version 1.0.0. Turn terrain and lake depth into cut sheets, 3D-print meshes, CNC heightmaps, plotter paths and GIS files. Authenticate with `Authorization: Bearer ts_live_...`. Limits: 60 requests per minute per key (429 with Retry-After), 4 jobs in flight per key, and a monthly export quota by plan. `/v1` is stable: breaking changes ship as `/v2`.
Quickstart
- Create a key in your account (Pro) or ask us for one. It starts with
ts_live_and is shown once. - Install the SDK from the repository's
packages/sdk, or call the HTTP API directly. - Send a project, wait for the job, download the zip.
const ts = new Infinimaker({ apiKey, baseUrl })
const job = await ts.waitForExport((await ts.createExport({ project, kind: 'sheets' }, { idempotencyKey: 'order-1' })).id)
const zip = await ts.download(job) Authentication
Send Authorization: Bearer ts_live_.... A key has scopes (slice, exports, lakes) and can be revoked at any time.
Endpoints
| Operation | What it does | Responses |
|---|---|---|
POST /v1/slice | Slice a project and return its piece summary (synchronous) | 200 Summary; 400 Invalid project; 401 Missing or invalid key; 403 Key lacks the slice scope; 429 Rate limited |
POST /v1/exports | Create an export job (asynchronous) | 202 Queued; 400 Invalid project; 401 Missing or invalid key; 402 The key owner's plan does not include this export; 403 Key lacks the exports scope; 429 Rate limited, too many jobs in flight, or monthly quota reached |
GET /v1/exports/{id} | Job status, and a signed download link when done | 200 Job; 404 No such job for this key |
GET /v1/lakes | Search lakes with survey data (at most 10 results) | 200 Lakes; 403 Key lacks the lakes scope |
GET /v1/usage | Your usage this period | 200 Counts |
The full machine-readable spec is served at /v1/openapi.json.
Rate limits and errors
60 requests a minute per key; the 61st gets 429 with a Retry-After header. At most 4 jobs in flight per key. Exports count against a monthly quota set by plan. Errors are JSON: { "error": "code", "message": "..." }. Repeat POST /v1/exports with the same Idempotency-Key to get the same job.
Webhooks
Add webhookUrl (public https) to an export. We POST once with X-Infinimaker-Signature: sha256=..., an HMAC of the raw body with your webhook secret. Verify it with verifyWebhook in the SDK. A webhook that cannot be delivered never fails the job: poll the job instead.
Versioning and changelog
/v1 is stable: we add fields and endpoints without notice, and ship breaking changes as /v2 with at least 6 months of overlap.
- 2026-11-06: v1 released (slice, exports, lakes, usage).