at this point webhook provides limited data. I would like to get more information about print starting and ending. Ideally data about file, filament used, I want to track production in other system and it would be helpfull to log each entry once print job is done or mark it as pending when it starts
Before the end of the week, we’ll release a big webhooks update, where you’ll get data like this for jobs;
{
"webhook_id": [xx],
"event": "job.started",
"timestamp": 1744145078,
"data": {
"job": {
"id": 2790208,
"uid": "96378c9b-317b-4604-ba5e-8b35036552dc",
"panel_url": "https://simplyprint.io/panel/jobs/96378c9b-317b-4604-ba5e-8b35036552dc",
"printer_id": 225,
"state": "printing",
"file": "back-part-2.gcode",
"percentage": 0,
"time_left": 6147,
"current_layer": null,
"analysis": {
"v": 9,
"printArea": {
"maxX": 703.55,
"maxY": 489.91,
"maxZ": 47,
"minX": 516.45,
"minY": 320.09,
"minZ": 0.5
},
"movement": {
"eRelative": 1,
"mRelative": 0
},
"temps": {
"bed": 110,
"tool": {
"T0": 260
},
"maxTool": 260
},
"modelSize": {
"x": 187.1,
"y": 169.82,
"z": 46.5
},
"materialData": null,
"slicer": "Kiri:Moto",
"estimate": 3722,
"filament": [
70785
],
"nozzleSize": null,
"gcodeFlavor": null,
"layerHeight": 0.5,
"firstLayerHeight": 0.5,
"totalLayers": 94,
"slicerVersion": "4.0.29",
"minDeltaRadius": 823.26,
"forPrinterModel": null
},
"started": 1744145078,
"ended": null,
"ai": {
"timeline": [],
"ai_model": null,
"model_version": null
},
"queue": {
"num": 4,
"total": 8
}
},
"autoprint": true,
"user": null,
"started_by": null
}
}
It’ll also include custom fields data if you have any custom fields.
I agree the webhook data for jobs was severely lacking before!
wow amazing! Loking forward to connecting it to my workflows!
It’s live now, @Paweł Płoneczka :) No changes to existing data; only added data, so should work for ya’ already.
I can see all the data, thank you!