MaintainX Work Orders API

Operations on Work Orders

GitHub OpenAPI
Business capability
Infrastructure Maintenance Management BC-5090

Operations 22

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /workorders Create a work order · Create new work order #
Ask an LLM
“How do I create a new maintenance work order?”
“Can I set a due date and estimated time when creating a work order?”
Tell an agent
Create a work order titled {title}.
Create work order {title} due {dueDate} with estimated time {estimatedTime}.
GET /workorders List work orders · List work orders #
Ask an LLM
“How do I list maintenance work orders assigned to a technician?”
“Can I filter work orders by asset, location or priority?”
Tell an agent
List work orders for asset {assets}.
Show work orders with status {statuses} and priority {priorities}.
GET /workorders/external/{externalId} Get a work order by external ID · Get work order by external ID #
Ask an LLM
“How do I look up a work order using an external ID?”
“Can I fetch a work order by its external reference?”
Tell an agent
Get the work order with external ID {externalId}.
Show work order {externalId} with {expand} expanded.
PATCH /workorders/external/{externalId} Upsert a work order by external ID · Create or update work order by external ID #
Ask an LLM
“How do I create or update a work order using an external ID?”
“Can I upsert a work order by its external reference?”
Tell an agent
Upsert work order {externalId} titled {title}.
Create or update work order {externalId} with {externalData}.
DELETE /workorders/external/{externalId} Delete a work order by external ID · Delete work order by external ID #
Ask an LLM
“How do I delete a work order using its external ID?”
“Can I remove a work order by external reference?”
Tell an agent destructive · confirm first
Delete the work order with external ID {externalId}.
Remove work order {externalId} without firing webhooks.
GET /workorders/{id} Get a work order by its ID · Get work order #
Ask an LLM
“How do I look up one maintenance work order by its MaintainX ID?”
“Can I expand related records when fetching a single work order by ID?”
Tell an agent
Get work order {id}.
Fetch work order {id} by its internal ID and expand {expand} in the response.
PATCH /workorders/{id} Update a work order · Update work order #
Ask an LLM
“How do I change the due date or assignee of a work order?”
“Can I update the estimated time on an existing work order?”
Tell an agent
Change the due date of work order {id} to {dueDate}.
Assign work order {id} to {assignees}.
DELETE /workorders/{id} Delete a work order · Delete workOrder #
Ask an LLM
“How do I delete a work order by its ID?”
“Can I remove a work order without firing webhooks?”
Tell an agent destructive · confirm first
Delete work order {id}.
Remove work order {id} and skip webhooks.
PUT /workorders/{id}/attachments/{filename} Upload an attachment to a work order · Update work order attachment #
Ask an LLM
“How do I attach a file to a work order?”
“Can I replace an existing work order attachment?”
Tell an agent
Upload {filename} as an attachment on work order {id}.
Replace the {filename} attachment on work order {id}.
DELETE /workorders/{id}/attachments/{filename} Remove a work order attachment · Remove work order attachment #
Ask an LLM
“How do I remove a file from a work order?”
“Can I delete an attachment on a work order?”
Tell an agent destructive · confirm first
Remove {filename} from work order {id}.
Delete the {filename} attachment on work order {id}.
POST /workorders/{id}/comments Add a comment to a work order · Create new comment on a work order #
Ask an LLM
“How do I comment on a work order?”
“Can I add a note to a work order through the API?”
Tell an agent
Comment {content} on work order {id}.
Add a note to work order {id} saying {content}.
GET /workorders/{id}/comments List comments on a work order · List work order comments #
Ask an LLM
“What comments have been left on a work order?”
“Can I see the comment history for a work order?”
Tell an agent
List comments on work order {id}.
Show the last {limit} comments on work order {id}.
POST /workorders/{id}/costs Record a cost on a work order · Create new cost on a work order #
Ask an LLM
“How do I add a labor or material cost to a work order?”
“Can I record a cost for a work order?”
Tell an agent
Record a cost on work order {id}.
Add a new cost entry to work order {id}.
GET /workorders/{id}/costs Get costs for a work order · Get costs information #
Ask an LLM
“What labor and material costs have been recorded for a work order?”
“Can I see the cost breakdown of a work order?”
Tell an agent
Get the costs for work order {id}.
Show labor and material costs on work order {id}.
POST /workorders/{id}/emails Email a work order to others · Send work order as an email #
Ask an LLM
“How do I email a work order to a colleague?”
“Can I send a work order as an email with a custom message?”
Tell an agent
Email work order {id} to {emails}.
Send work order {id} to {emails} with the message {customMessage}.
PATCH /workorders/{id}/partStatus Update the part status of a work order · Update work order part status #
Ask an LLM
“How do I mark the parts on a work order as received?”
“Can I update the part status of a work order?”
Tell an agent
Set the part status of work order {id} to {partStatus}.
Mark parts on work order {id} as {partStatus}.
DELETE /workorders/{id}/procedure Detach a procedure from a work order · Detach procedure from work order #
Ask an LLM
“How do I remove a procedure from a work order?”
“Can I detach a procedure template from a work order?”
Tell an agent destructive · confirm first
Detach the procedure from work order {id}.
Remove the procedure template on work order {id}.
DELETE /workorders/{id}/procedure/fields/{index}/attachment Delete a procedure field attachment · Delete procedure field attachment #
Ask an LLM
“How do I remove an attachment from a procedure field on a work order?”
“Can I delete a procedure field attachment?”
Tell an agent destructive · confirm first
Delete the attachment from procedure field {index} on work order {id}.
Remove the attachment on field {index} of work order {id}.
PUT /workorders/{id}/procedure/fields/{index}/attachment/{filename} Upload a procedure field attachment · Update procedure field attachment #
Ask an LLM
“How do I attach a file to a procedure field on a work order?”
“Can I replace a procedure field attachment?”
Tell an agent
Upload {filename} to procedure field {index} on work order {id}.
Replace the attachment on field {index} of work order {id}.
PATCH /workorders/{id}/status Change a work order's status · Update work order status #
Ask an LLM
“How do I close out a maintenance work order by changing its status?”
“Can I skip webhooks when updating a work order's status?”
Tell an agent
Set work order {id} status to {status}.
Advance work order {id} to {status}, skipping webhooks ({skipWebhook}).
GET /workorders/{id}/subworkorders List sub work orders · List sub work orders #
Ask an LLM
“What sub work orders belong to a parent work order?”
“Can I expand related records when listing a work order's sub work orders?”
Tell an agent
List sub work orders of work order {id}.
Show {limit} sub work orders for work order {id}.
PUT /workorders/{id}/thumbnail/{filename} Set a work order's thumbnail · Update work order's thumbnail #
Ask an LLM
“How do I upload a thumbnail image for a work order?”
“Can I skip webhooks when updating a work order's thumbnail?”
Tell an agent
Set the thumbnail of work order {id} to {filename}.
Upload {filename} as the thumbnail for work order {id}, skipping webhooks.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/maintainx:maintainx-work-orders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

maintainx-work-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'REST API V1


    Support: support@getmaintainx.com | https://www.getmaintainx.com/


    This is the MaintainX REST API reference. It provides detailed documentation for endpoints, request parameters, response schemas, and error codes available.


    For setup guides, authentication walkthroughs, how-tos, etc., see the Build With MaintainX guide.


    What''s in this reference:


    Full endpoint listings across all MaintainX entities (Work Orders, Assets, Parts, Locations, Users, and more)


    Request and response schemas with field-level detail


    Query parameters, filters, and pagination behavior


    Authentication requirements and error codes


    Subscriptions and webhooks for event-driven integrations


    Base URL: https://api.getmaintainx.com/v1


    All requests must be authenticated with a Bearer token (see Settings > Integrations > API Keys to generate a key).


    API access is available on Premium and Enterprise plans.'
  version: '1'
  title: MaintainX Work Orders API
  contact:
    url: https://www.getmaintainx.com/
    name: Support
    email: support@getmaintainx.com
  x-logo:
    url: https://maintainx-static.s3.us-west-2.amazonaws.com/logo/adsk-maintainx-logo.svg
    backgroundColor: '#FFFFFF'
    altText: MaintainX, an Autodesk company
servers:
- url: https://api.getmaintainx.com/v1
  description: Endpoint
security:
- Bearer: []
tags:


# --- truncated at 32 KB (634 KB total) ---
# Full source: https://artifacts.apis.io/maintainx/openapi/maintainx-work-orders-api-openapi.yml