{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"c8cdbc41-2826-4a88-9516-c58c3d060d5f","name":"Printspector API","description":"### Introduction\n\nPrintspector is a software for monitoring printing process efficiency and quality, aggregating data from a variety of sources, for analysis and visualisation. The API is mainly for printing companies to provide data into the Printspector environment, mainly from ERP or color measurement systems.\n\n### General considerations\n\n#### Authorization\n\nCurrently, the API access is authorized through API-tokens, issued by Printspector upon request. These tokens are passed to the api by setting the 'Authorization' header to 'Bearer ', replacing '' by the actual token.\n\n#### Date and time handling\n\nThe Printspector API accepts all timestamp fields as '2025-10-27T15:16:17Z' ISO timestamps. As Printspector operates within an international context, often spanning multiple timezones, we strongly recommend passing in all timestamps in UTC.\n\nFor rendering, the Printspector application will use the actual timezone at the press, or the timezone of the user, as configured. The API will always return timestamps as UTC.\n\n#### Request and response as JSON\n\nMost request take and produce information in JSON format. For this, it is advised to pass in \"Accept: application/json\" and \"Content-Type: application/json\" headers where appropriate.\n\n### Data model\n\n#### Presses\n\nA press (in the future 'machine', as Printspector also targets other machines, such as laminating machines and die-cutters) is a physical machine, having an `id`, a `brand`, a `serialNumber`, a `machineType`, a common `name` and optional `aliases` (alternative names, for example as used in the ERP system).\n\nPresses are configured within Printspector and cannot be created through the API. Use `GET /press` to retrieve the `id` of each press; this id is used in all other press calls and in the `pressAssignments` of a job.\n\nA press has a continuous stream of press speeds (sampled for example each 15 seconds or each minute), characterized by a timestamp (when the speed was measured), a speed measurement (in meters per minute, or sheets per minute), and optionally a raw counter value (indicating either axle revolutions or meters passed).\n\n#### Jobs\n\nA print run ('job') is an individual instance of a design being printed on a physical machine, resulting in printed packaging or cardboard.\n\nA job typically has one or more unique identifiers within the printer's ERP system. In Printspector, the following fields are available to accommodate these identifiers:\n\n- `productionNumber` (required): the printer's identifier of the job (production order number)\n- `designNumber`: identifier of the design being printed\n- `designName`: concise, human readable name of the design\n- `designRevision`: revision of the design\n- `client`: the customer's name\n\nThe fields `name` and `number` are deprecated aliases for `designName` and `productionNumber`; they are still accepted but should no longer be used.\n\nA job also has a reference date and time (`timestamp`), reflecting when the job is printed (for sorting and filtering purposes). When `timestamp` is omitted but `pressAssignments` are provided, the earliest press assignment `start` is used.\n\nA job has optional attributes, that can be provided as key -> value pairs to the API to be stored with the job.\n\nFurthermore, a job is assigned to one or more presses (`pressAssignments`). This means the job was actually printed (processed) at a specific machine, by specific operators, during a certain time interval.\n\nOptionally, a job can be linked to:\n\n- a `substrate` (identified by an integer `identifier` and/or a `name`)\n- a `toleranceSet` (identified by an integer `identifier` and/or a `name`, with optional tolerance values)\n- a `reference` (identified by `name`)\n- `equipment` used on the press, such as anilox rollers and sleeves\n\n#### Errors\n\nFunctional errors (for example a missing parameter or an invalid press id in a job) are returned with HTTP status 200 and a body like `{ \"status\": \"error\", \"message\": \"...\" }`. Always check the `status` property of the response.\n\nOther errors use regular HTTP status codes:\n\n- `401`: missing or invalid API token, with a body like `{ \"error\": \"Invalid API key\" }`\n- `404`: the press in the URL does not exist or does not belong to your company (press calls)\n- `422`: the request body is invalid, for example a missing required field or a value of the wrong type; the body lists the offending fields under `errors`\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"50047601","team":11530055,"collectionId":"c8cdbc41-2826-4a88-9516-c58c3d060d5f","publishedId":"2sB3dK1YpM","public":true,"publicUrl":"https://api-documentation.printspector.com","privateUrl":"https://go.postman.co/documentation/50047601-c8cdbc41-2826-4a88-9516-c58c3d060d5f","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4b8071"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"dark","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"78CCB4"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4b8071"}}]}},"version":"8.12.13","publishDate":"2025-11-28T10:41:21.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"Testing","id":"5a9f42ee-86e9-4743-a7d6-97e7410e940a","owner":"50047601","values":[{"key":"base-url","value":"https://test.printspector.com/external-api/v1","enabled":true,"type":"default"},{"key":"press-id","value":"1234","enabled":true,"type":"default"},{"key":"api-key","value":"your-token-here","enabled":true,"type":"secret"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://postman-image-service.postman.com/api/cloudinary-proxy/postman/image/upload/t_team_logo_pubdoc/v1/team/cfe1360dc9c814472548167f7f368e94ce20cc08fd95d0d9cb547690c082d606","favicon":"https://printspector.com/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Testing","value":"50047601-5a9f42ee-86e9-4743-a7d6-97e7410e940a"}],"canonicalUrl":"https://api-documentation.printspector.com/view/metadata/2sB3dK1YpM"}