Skip to content
Public API
Esc
↑↓navigate↵open⌘Jpreview

Get a blank

GET/blank/{id}
Authorization
AuthorizationAPI key · headerrequired

The Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.

Path parameters
idstringrequired
Responses
200

OK. A missing id returns 200 with an empty body — check for an id in the response.

idstring

Blank ID

appIdstring

Application ID

namestring

Blank name

materialNamestring

Material name

materialIdstring

Material ID

blankSidstring

Blank SID (autogenerated, read-only)

shapestring

Shape: bar or rod

shapePropertiesobject

Object with width, length, thickness (bar) or diameter, length (rod)

sellPricenumber

Sell price

minLeadTimenumber

Minimum lead time

401

Authentication failed. All causes return this identical response.

codeinteger
messagestring
typestring
default

Downstream errors pass through verbatim; x-error-source names the failing service.

codeinteger
messagestring
typestring
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://next.amfg.ai/engine-service/public-api/v1/blank/string' \
  -H 'Authorization: YOUR_API_KEY'
Response
{
  "id": "1",
  "appId": "1677",
  "name": "25 x 35 x 40 mm",
  "materialName": "CNC material",
  "materialId": "363",
  "blankSid": "PRODUCT-0001",
  "shape": "bar",
  "shapeProperties": {
    "width": 35,
    "length": 40,
    "thickness": 25
  },
  "sellPrice": 10.15,
  "minLeadTime": 50
}