Skip to content

List Work Orders

Required scope: work_order:read

Results are workspace- and authorization-scoped, newest first. Filter by a status string or one customer when needed. pageSize is 1 to 100 and defaults to 100. When nextCursor is set, send it back as cursor with the same filters for the next page; an empty nextCursor means you have every row.

Generated Reference
POST /public-api/publicapi.v1.WorkOrder/ListWorkOrders

Lists work orders visible to the API key actor, newest first, optionally filtered by status or customer. Pages with page_size (default and max 100) and cursor: pass next_cursor back until it is empty.

Request ListWorkOrdersRequest
Response ListWorkOrdersResponse

ListWorkOrdersRequest

Field Type Description
status string
page_size int32
customer_id optional string
cursor string Opaque next_cursor from the previous page; keep the other filters the same. The preferred way to read every row.

ListWorkOrdersResponse

Field Type Description
work_orders repeated WorkOrder
next_cursor string Pass as cursor to read the next page. Empty on the last page.
{
"status": "open",
"pageSize": 50,
"customerId": "<customer-id>"
}