mcpgate Customer API
The customer API from mcpgate — 2 operation(s) for customer.
The customer API from mcpgate — 2 operation(s) for customer.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/mcpgate:mcpgate-customer-api"
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.
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: 3.2.0
info:
title: mcpgate-backend Customer API
version: 0.4.20
tags:
- name: Customer
paths:
/admin/customer:
post:
tags:
- Customer
summary: Create Customer
operationId: create_customer_admin_customer_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Customer
summary: List Customers
operationId: list_customers_admin_customer_get
parameters:
- name: has_stripe
in: query
required: false
schema:
anyOf:
- type: boolean
- type: 'null'
title: Has Stripe
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
default: 50
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Offset
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerList'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/customer/{customer_id}:
get:
tags:
- Customer
summary: Get Customer
operationId: get_customer_admin_customer__customer_id__get
parameters:
- name: customer_id
in: path
required: true
schema:
type: string
minLength: 1
maxLength: 64
title: Customer Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Customer
summary: Update Customer
operationId: update_customer_admin_customer__customer_id__patch
parameters:
- name: customer_id
in: path
required: true
schema:
type: string
minLength: 1
maxLength: 64
title: Customer Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
CustomerCreate:
properties:
display_name:
type: string
maxLength: 255
minLength: 1
title: Display Name
contact_email:
anyOf:
- type: string
format: email
- type: 'null'
title: Contact Email
vat_id:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Vat Id
country:
anyOf:
- type: string
maxLength: 2
minLength: 2
- type: 'null'
title: Country
stripe_customer_id:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Stripe Customer Id
notes:
anyOf:
- type: string
maxLength: 2000
- type: 'null'
title: Notes
type: object
required:
- display_name
title: CustomerCreate
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
CustomerOut:
properties:
id:
type: string
title: Id
display_name:
type: string
title: Display Name
contact_email:
anyOf:
- type: string
- type: 'null'
title: Contact Email
vat_id:
anyOf:
- type: string
- type: 'null'
title: Vat Id
country:
anyOf:
- type: string
- type: 'null'
title: Country
stripe_customer_id:
anyOf:
- type: string
- type: 'null'
title: Stripe Customer Id
created_at:
type: string
format: date-time
title: Created At
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
type: object
required:
- id
- display_name
- created_at
title: CustomerOut
CustomerUpdate:
properties:
display_name:
anyOf:
- type: string
maxLength: 255
minLength: 1
- type: 'null'
title: Display Name
contact_email:
anyOf:
- type: string
format: email
- type: 'null'
title: Contact Email
vat_id:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Vat Id
country:
anyOf:
- type: string
maxLength: 2
minLength: 2
- type: 'null'
title: Country
stripe_customer_id:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Stripe Customer Id
notes:
anyOf:
- type: string
maxLength: 2000
- type: 'null'
title: Notes
type: object
title: CustomerUpdate
description: All fields optional — operator updates one at a time.
CustomerList:
properties:
items:
items:
$ref: '#/components/schemas/CustomerOut'
type: array
title: Items
total:
type: integer
title: Total
type: object
required:
- items
- total
title: CustomerList
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError