ARCNM

API reference

Upload Links

The Upload Links API issues a login-free link for someone without an account: they drop a STEP file per part on the page, priced for you; revoking ends it.

The Upload Links API issues a login-free link for someone without an account: they drop a STEP file per part on the page, priced for you; revoking ends it.

Auto-generated from the public OpenAPI spec — this page never drifts from the running API. Base URL https://api.arcnm.io. Authenticate with the X-API-Key header (see Authentication).

POST /api/v1/upload-links

A link to the upload page that works without signing in, for a person whose files are on their own computer: they open it, drop a STEP file per part (a PDF drawing optional) and every part is filed and priced in this organization, in the environment and folder the link names. It ends 30 minutes after it is issued or once max_uploads parts are uploaded, whichever comes first, and DELETE /upload-links/{upload_session_id} ends it at once. Each part uses one calculation of the quota if its calculation succeeds, exactly as an upload of your own; the calculations carry the API key the link was issued with. Every part becomes a new part — a link never adds a revision to a part that is already there. List the calculations with GET /calculations?upload_session_id=. An organization has at most 50 links open at once: past that, revoke one or wait until one closes.

Request body (application/json)

Field Type Required Description
environment_id string no Costing environment the uploaded parts are priced in. Omit for the organization's default environment. The link keeps the environment it was issued for.
folder_id string no Folder the uploaded parts are filed into. Omit to file them at the workspace root.
max_uploads integer no How many parts the link may upload, 1 to 20. Each part is one STEP file with an optional drawing, and uses one calculation of the quota if its calculation succeeds.

Request

curl -X POST https://api.arcnm.io/api/v1/upload-links \
  -H "X-API-Key: $ARCNM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "environment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "folder_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "max_uploads": 1
  }'
import requests

resp = requests.post(
    "https://api.arcnm.io/api/v1/upload-links",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={
        "environment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "folder_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "max_uploads": 1
    },
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/upload-links", {
  method: "POST",
  headers: {
    "X-API-Key": process.env.ARCNM_API_KEY!,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "environment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "folder_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "max_uploads": 1
  }),
})
const data = await resp.json()

Responses

Status Description
201 Successful Response
409 upload_link_too_many_open: the organization already has as many links open as it may (details.open_links, details.max_open_links).
422 Validation Error
default Error — the error envelope; branch on error.code.

Errors

Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.

Status Code When
401 invalid_api_key Missing, malformed, or revoked API key.
403 insufficient_scope The key is valid but lacks a scope this endpoint requires.
409 conflict A conflicting change, or an Idempotency-Key reused with a different body.
429 rate_limited Per-key or per-org rate limit exceeded — back off with jitter and retry.

Response body 201

Field Type Description
environment_id string The costing environment the uploaded parts are priced in.
expires_at string When the link stops working (UTC).
folder_id string The folder the uploaded parts are filed into; null for the root.
issued_at string When the link was issued (UTC).
max_uploads integer How many parts the link may upload.
upload_session_id string The link's id. Every calculation an upload through the link creates carries it, and upload_session_id on the calculation list lists exactly those.
url string The upload page for the person to open in a browser. It works without signing in until expires_at, or until max_uploads parts are uploaded. Whoever has the URL can upload, so share it only with that person.

Example response

{
  "environment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "expires_at": "2026-06-01T12:00:00Z",
  "folder_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "issued_at": "2026-06-01T12:00:00Z",
  "max_uploads": 0,
  "upload_session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "url": "string"
}

DELETE /api/v1/upload-links/{upload_session_id}

End an upload link at once: the page refuses every upload from then on. What was uploaded before stays, and keeps its calculations. Revoking a revoked link changes nothing and answers the same.

Parameters

Name In Type Required Description
upload_session_id path string yes Identifier of the upload session.

Request

curl -X DELETE https://api.arcnm.io/api/v1/upload-links/{upload_session_id} \
  -H "X-API-Key: $ARCNM_API_KEY"
import requests

resp = requests.delete(
    "https://api.arcnm.io/api/v1/upload-links/{upload_session_id}",
    headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/upload-links/{upload_session_id}", {
  method: "DELETE",
  headers: {
    "X-API-Key": process.env.ARCNM_API_KEY!,
  },
})
const data = await resp.json()

Responses

Status Description
200 Successful Response
422 Validation Error
default Error — the error envelope; branch on error.code.

Errors

Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.

Status Code When
401 invalid_api_key Missing, malformed, or revoked API key.
403 insufficient_scope The key is valid but lacks a scope this endpoint requires.
404 not_found A referenced resource doesn't exist or isn't visible to your organisation.
409 conflict A conflicting change, or an Idempotency-Key reused with a different body.
429 rate_limited Per-key or per-org rate limit exceeded — back off with jitter and retry.

Response body 200

Field Type Description
revoked_at string When the link was revoked (UTC).
upload_session_id string The link's id.
uploads_used integer How many parts were uploaded through the link before it was revoked.

Example response

{
  "revoked_at": "2026-06-01T12:00:00Z",
  "upload_session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "uploads_used": 0
}