Operation
List printers
GET
/devices/printersOrg-wide list of printer peripherals with status + capabilities, for the print-target picker.
Returns
Printers
Errors
- 400
- Bad Request - Invalid input
- 401
- Unauthorized - Authentication required
- 403
- Forbidden - Insufficient permissions
- 404
- Not Found - Resource not found
- 500
- Internal Server Error
Every error names its code and links to it. All error codes
curl -X GET "https://api.ticketlayer.com/v1/devices/printers" \ -H "Authorization: Bearer tlak_..." \ -H "X-Ticketlayer-Org: your-org-slug"Response 200
{
"printers": [
{
"id": "string",
"name": "string",
"location": {
"id": "string",
"name": "string"
},
"online": true,
"paperOut": true,
"detached": true,
"capabilities": {},
"hostDeviceId": "string",
"hostName": "string",
"accountId": "string"
}
]
}