MaintainX Locations API

Operations on Locations

GitHub OpenAPI

Operations 11

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 /locations Create a location · Create new location #
Ask an LLM
“How do I add a new location to MaintainX?”
“Can I set a barcode and vendors when creating a location?”
Tell an agent
Create a location named {name}.
Create location {name} with barcode {barcode} and vendors {vendorIds}.
GET /locations List locations · List locations #
Ask an LLM
“Which locations are set up in my organization?”
“Can I find a location by its name?”
Tell an agent
List all locations.
Find the location named {name}.
GET /locations/external/{externalId} Get a location by external ID · Get location by external ID #
Ask an LLM
“How do I look up a location using the ID from my ERP?”
“Can I fetch a location by its external ID?”
Tell an agent
Get the location with external ID {externalId}.
Look up location {externalId} in organization {org}.
PATCH /locations/external/{externalId} Upsert a location by external ID · Create or update location by external ID #
Ask an LLM
“How do I create or update a location using an external ID?”
“Will updating a location by external ID undelete it if it was deleted before?”
Tell an agent
Upsert location {externalId} with name {name}.
Update location {externalId} with address {address} and barcode {barcode}.
DELETE /locations/external/{externalId} Delete a location by external ID · Delete location by external ID #
Ask an LLM
“How do I remove a location that was imported from my ERP?”
“Can I skip webhooks when deleting a location by external ID?”
Tell an agent destructive · confirm first
Delete the location with external ID {externalId}.
Remove location {externalId} and skip webhooks ({skipWebhook}).
GET /locations/{id} Get a location · Get location #
Ask an LLM
“How do I see the details of one location?”
“What address and barcode does a location have?”
Tell an agent
Get location {id}.
Show the address and barcode of location {id}.
PATCH /locations/{id} Update a location · Update location #
Ask an LLM
“How do I change a location's address or barcode?”
“Can I move a location under a different parent location?”
Tell an agent
Update location {id} with address {address}.
Set the parent of location {id} to {parentId}.
DELETE /locations/{id} Delete a location · Delete location #
Ask an LLM
“How do I remove a location from my accounts?”
“Can I skip webhooks when deleting a location?”
Tell an agent destructive · confirm first
Delete location {id}.
Remove location {id} and set skipWebhook to {skipWebhook}.
PUT /locations/{id}/attachments/{filename} Upload an attachment to a location · Update location attachment #
Ask an LLM
“How do I attach a document to a location?”
“Can I upload a file to a location by filename?”
Tell an agent
Upload an attachment to location {id} as {filename}.
Attach the file {filename} to location {id}.
DELETE /locations/{id}/attachments/{filename} Remove an attachment from a location · Remove location attachment #
Ask an LLM
“How do I remove a document from a location?”
“Can I delete an attachment by filename?”
Tell an agent destructive · confirm first
Remove attachment {filename} from location {id}.
Delete the {filename} file on location {id}.
PUT /locations/{id}/thumbnail/{filename} Set a location's thumbnail · Update location's thumbnail #
Ask an LLM
“How do I set a thumbnail image for a location?”
“Can I upload a thumbnail by filename?”
Tell an agent
Set the thumbnail of location {id} to {filename}.
Upload {filename} as the thumbnail for location {id}.

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-locations-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-locations-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 Locations 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 (101 KB total) ---
# Full source: https://artifacts.apis.io/maintainx/openapi/maintainx-locations-api-openapi.yml