XentrDeveloper Docs
API ReferenceMachines

Create a new machine (Xentr staff only — organization_admin must submit a provisioning request instead)

POST
/api/factories/{factoryId}/machines
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.xentr.ai/api/factories/string/machines" \  -H "Content-Type: application/json" \  -d '{    "code": "CNC-001",    "name": "CNC Lathe #1"  }'
Empty