MaintainX Customers API

Operations on Customers

Operations 4

GET /customers List customers #
POST /customers Create customer #
GET /customers/{id} Get customer #
PATCH /customers/{id} Update customer #

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-customers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

maintainx-customers-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 Customers 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:
- name: Customers
  description: Operations on Customers
  x-traitTag: false
paths:
  /customers:
    get:
      summary: List customers
      description: Endpoint used to list customer resources
      tags:
      - Customers
      parameters:
      - schema:
          type: integer
        description: Required if using a multi organizations token
        name: x-organization-id
        in: header
        required: false
        example: '1'
      - name: cursor
        in: query
        schema:
          description: Last pagination reference
          type: string
      - name: limit
        in: query
        schema:
          description: Maximum number of Customers returned
          type: integer
          minimum: 1
          maximum: 200
          default: 100
      - name: expand
        in: query
        schema:
          title: Expand specific fields in the request
          type: array
          items:
            type: string
            enum:
            - extra_fields
      responses:
        '200':
          description: Successfully fetched Customers list
          content:
            application/json:
              schema:
                type: object
                required:
                - customers
                - nextCursor
                - nextPageUrl
                properties:
                  customers:
                    type: array
                    items:
                      $ref: '#/components/schemas/ExternalCustomerListItem'
                  nextCursor:
                    description: The cursor to retrieve the next page of Customers.
                    type:
                    - string
                    - 'null'
                  nextPageUrl:
                    description: Path with query parameters that can be used to retrieve the next page of Customers.
                    type:
                    - string
                    - 'null'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                required:
                - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                      - error
                      properties:
                        error:
                          type: string
                          description: Description of the error
                        fieldPath:
                          type: string
                          description: Path of the invalid field
                        fieldValue:
                          type: string
                          description: Invalid field value
        '401':
          $ref: '#/components/responses/UnauthorizedError'
      operationId: getCustomers
      x-operation-id-source: derived
    post:
      summary: Create customer
      tags:
      - Customers
      parameters:
      - schema:
          type: integer
        description: Required if using a multi organizations token
        name: x-organization-id
        in: header
        required: false
        example: '1'
      requestBody:
        description: Customer to create.
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              additionalProperties: false
              properties:
                name:
                  type: string
                  example: Acme Manufacturing
                  description: Name of the customer
                description:
                  type:
                  - string
                  - 'null'
                  example: Primary service customer
                  description: Description of the customer
                extraFields:
                  type: object
                  description: Customer custom fields, keyed by field label
                  example:
                    external_id: QBO-42
                  additionalProperties:
                    type: string
      responses:
        '201':
          description: Successfully created customer
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                properties:
                  id:
                    type: integer
                    example: 123456
                    description: Global ID of the customer
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                required:
                - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                      - error
                      properties:
                        error:
                          type: string
                          description: Description of the error
                        fieldPath:
                          type: string
                          description: Path of the invalid field
                        fieldValue:
                          type: string
                          description: Invalid field value
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                required:
                - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                      - error
                      properties:
                        error:
                          type: string
                          description: Description of the error
                        fieldPath:
                          type: string
                          description: Path of the invalid field
                        fieldValue:
                          type: string
                          description: Invalid field value
      operationId: postCustomers
      x-operation-id-source: derived
  /customers/{id}:
    get:
      summary: Get customer
      tags:
      - Customers
      parameters:
      - schema:
          type: integer
        description: Required if using a multi organizations token
        name: x-organization-id
        in: header
        required: false
        example: '1'
      - schema:
          type: integer
        name: id
        in: path
        required: true
        description: ID of the customer
        example: '1'
      responses:
        '200':
          description: Successfully retrieved customer information
          content:
            application/json:
              schema:
                type: object
                required:
                - customer
                properties:
                  customer:
                    $ref: '#/components/schemas/ExternalCustomer'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                required:
                - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                      - error
                      properties:
                        error:
                          type: string
                          description: Description of the error
                        fieldPath:
                          type: string
                          description: Path of the invalid field
                        fieldValue:
                          type: string
                          description: Invalid field value
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          description: Could not find the specified customer or the user cannot access it.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    example: customer not found.
      operationId: getCustomersById
      x-operation-id-source: derived
    patch:
      summary: Update customer
      tags:
      - Customers
      parameters:
      - schema:
          type: integer
        description: Required if using a multi organizations token
        name: x-organization-id
        in: header
        required: false
        example: '1'
      - schema:
          type: integer
        name: id
        in: path
        required: true
        description: ID of the customer
        example: '1'
      requestBody:
        description: 'Customer fields to update. Include at least one of: name, description, extraFields.'
        required: true
        content:
          application/json:
            schema:
              type: object
              minProperties: 1
              additionalProperties: false
              properties:
                name:
                  type: string
                  example: Acme Manufacturing
                  description: Name of the customer
                description:
                  type:
                  - string
                  - 'null'
                  example: Primary service customer
                  description: Description of the customer
                extraFields:
                  type: object
                  description: Customer custom fields, keyed by field label
                  example:
                    external_id: QBO-42
                  additionalProperties:
                    type: string
      responses:
        '200':
          description: Successfully updated customer
          content:
            application/json:
              schema:
                type: object
                required:
                - customer
                properties:
                  customer:
                    $ref: '#/components/schemas/ExternalCustomer'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                required:
                - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                      - error
                      properties:
                        error:
                          type: string
                          description: Description of the error
                        fieldPath:
                          type: string
                          description: Path of the invalid field
                        fieldValue:
                          type: string
                          description: Invalid field value
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                required:
                - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                      - error
                      properties:
                        error:
                          type: string
                          description: Description of the error
                        fieldPath:
                          type: string
                          description: Path of the invalid field
                        fieldValue:
                          type: string
                          description: Invalid field value
      operationId: patchCustomersById
      x-operation-id-source: derived
components:
  schemas:
    ExternalCustomer:
      type: object
      required:
      - id
      - name
      - description
      - archivedAt
      - createdAt
      - updatedAt
      - extraFields
      properties:
        id:
          type: integer
          example: 123456
          description: Global ID of the customer
        name:
          type: string
          example: Acme Manufacturing
          description: Name of the customer
        description:
          type:
          - string
          - 'null'
          example: Primary service customer
          description: Description of the customer
        archivedAt:
          type:
          - string
          - 'null'
          format: date-time
          example: '2025-01-22T15:30:00.000Z'
          description: Date the customer was archived. Null if the customer is active.
        createdAt:
          type: string
          format: date-time
          example: '2025-01-22T15:30:00.000Z'
          description: Date the customer was created
        updatedAt:
          type: string
          format: date-time
          example: '2025-01-22T15:30:00.000Z'
          description: Date the customer was last updated
        extraFields:
          type: object
          description: Customer custom fields, keyed by field label
          example:
            external_id: QBO-42
          additionalProperties:
            type: string
    ExternalCustomerListItem:
      type: object
      required:
      - id
      - name
      - description
      - archivedAt
      - createdAt
      - updatedAt
      properties:
        id:
          type: integer
          example: 123456
          description: Global ID of the customer
        name:
          type: string
          example: Acme Manufacturing
          description: Name of the customer
        description:
          type:
          - string
          - 'null'
          example: Primary service customer
          description: Description of the customer
        archivedAt:
          type:
          - string
          - 'null'
          format: date-time
          example: '2025-01-22T15:30:00.000Z'
          description: Date the customer was archived. Null if the customer is active.
        createdAt:
          type: string
          format: date-time
          example: '2025-01-22T15:30:00.000Z'
          description: Date the customer was created
        updatedAt:
          type: string
          format: date-time
          example: '2025-01-22T15:30:00.000Z'
          description: Date the customer was last updated
        extraFields:
          type: object
          description: Customer custom fields, keyed by field label (expand with query parameter)
          example:
            external_id: QBO-42
          additionalProperties:
            type: string
        organizationId:
          type: integer
          description: Organization ID when using a multi-organization token
          example: 1
  responses:
    UnauthorizedError:
      description: Invalid token
  securitySchemes:
    Bearer:
      description: "\n  <p>Authenticate by adding the following HTTP header to your requests:</p>\n<pre>Authorization: bearer {{token}}</pre>\n<p>The <code>token</code> can be generated in your MaintainX account. Go to <a href=\"https://app.getmaintainx.com/settings/integrations/apiKeys\">\"Settings &gt; Integrations &gt; API Keys\"</a> to generate a key for your user.</p>\n"
      type: http
      scheme: bearer
      bearerFormat: JWT
x-provenance:
  method: harvested
  publisher: MaintainX
  source: https://api.getmaintainx.com/v1/openapi.json?v=26.10.1451-310524
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)