Uptimeify Customer API
The Customer API from Uptimeify — 2 operation(s) for customer.
The Customer API from Uptimeify — 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/uptimeify-io:uptimeify-io-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: Uptimeify REST Customer API
version: 1.0.0
description: 'Public REST API for Uptimeify website, DNS, TLS and email monitoring. Authenticate with a Bearer API token (Authorization: Bearer wsm_...). Human docs: https://docs.uptimeify.io/api. Generated from the live route handlers, the docs-site and the maintained API collection.'
contact:
name: Uptimeify
url: https://uptimeify.io
servers:
- url: https://uptimeify.io
security:
- bearerAuth: []
tags:
- name: Customer
paths:
/api/customer/tokens:
get:
operationId: getApiCustomerTokens
summary: List Customer Tokens
tags:
- Customer
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: array
items:
type: object
properties:
id:
type: integer
exclusiveMinimum: 0
organizationId:
type: integer
exclusiveMinimum: 0
name:
type: string
customerId:
anyOf:
- type: integer
exclusiveMinimum: 0
- type: 'null'
customerName:
type:
- string
- 'null'
lastUsedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
expiresAt:
anyOf:
- type: string
format: date-time
- type: 'null'
createdAt:
type: string
format: date-time
tokenHint:
type: string
description: Last characters of the token, for recognition.
scopes:
anyOf:
- type: array
items:
type: string
- type: 'null'
description: 'null: full access. Otherwise only these scopes (api.read.<area>, api.write.<area>).'
required:
- id
- organizationId
- name
- customerId
- customerName
- lastUsedAt
- expiresAt
- createdAt
- tokenHint
- scopes
description: 'Deprecated form: pass ?envelope=items for { items, total, page, perPage }.'
x-envelope-response:
type: object
properties:
items:
type: array
items:
type: object
properties:
id:
type: integer
exclusiveMinimum: 0
organizationId:
type: integer
exclusiveMinimum: 0
name:
type: string
customerId:
anyOf:
- type: integer
exclusiveMinimum: 0
- type: 'null'
customerName:
type:
- string
- 'null'
lastUsedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
expiresAt:
anyOf:
- type: string
format: date-time
- type: 'null'
createdAt:
type: string
format: date-time
tokenHint:
type: string
description: Last characters of the token, for recognition.
scopes:
anyOf:
- type: array
items:
type: string
- type: 'null'
description: 'null: full access. Otherwise only these scopes (api.read.<area>, api.write.<area>).'
required:
- id
- organizationId
- name
- customerId
- customerName
- lastUsedAt
- expiresAt
- createdAt
- tokenHint
- scopes
total:
type: integer
minimum: 0
page:
type: integer
minimum: 1
perPage:
type: integer
minimum: 0
required:
- items
- total
- page
- perPage
description: Newest first, as one page.
'401':
description: Missing, invalid or expired API token (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Authenticated, but the role, the customer binding or the scopes of the token do not allow this call (e.g. `forbidden`, `customerScopedTokenForbidden`, `apiTokenScopeForbidden`). See https://docs.uptimeify.io/api/introduction/permissions-by-endpoint.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: GET /api/customer/tokens
parameters:
- name: envelope
in: query
required: false
description: 'items: answer the list as `{ items, ... }` (schema in x-envelope-response). Becomes the default on 2027-01-18; the current form is deprecated.'
schema:
type: string
enum:
- items
post:
operationId: postApiCustomerTokens
summary: Create Customer Token
tags:
- Customer
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
id:
type: integer
exclusiveMinimum: 0
name:
type: string
lastUsedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
expiresAt:
anyOf:
- type: string
format: date-time
- type: 'null'
createdAt:
type: string
format: date-time
scopes:
anyOf:
- type: array
items:
type: string
- type: 'null'
description: 'null: full access. Otherwise only these scopes (api.read.<area>, api.write.<area>).'
token:
type: string
description: The token itself. Shown once; store it now.
required:
- id
- name
- lastUsedAt
- expiresAt
- createdAt
- scopes
- token
'400':
description: 'Invalid or missing parameters: `invalidRequestBody` with `data.issues`, or a field-specific code.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, invalid or expired API token (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Authenticated, but the role, the customer binding or the scopes of the token do not allow this call (e.g. `forbidden`, `customerScopedTokenForbidden`, `apiTokenScopeForbidden`). See https://docs.uptimeify.io/api/introduction/permissions-by-endpoint.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: POST /api/customer/tokens
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 255
expiresInDays:
description: Omit for a token that never expires.
type: integer
minimum: 1
maximum: 365
customerId:
description: Required when the login is assigned to more than one customer.
type: integer
exclusiveMinimum: 0
scopes:
description: Restricts the token to these scopes (api.read.<area> = GET/HEAD, api.write.<area> = other methods). Omit for full access. Paths outside every scope answer 403 apiTokenScopeForbidden.
minItems: 1
maxItems: 14
type: array
items:
type: string
enum:
- api.read.monitors
- api.write.monitors
- api.read.incidents
- api.write.incidents
- api.read.alerts
- api.write.alerts
- api.read.statuspages
- api.write.statuspages
- api.read.reports
- api.write.reports
- api.read.customers
- api.write.customers
- api.read.organization
- api.write.organization
required:
- name
example:
name: My API Token
expiresInDays: 365
customerId: null
/api/customer/tokens/{id}:
delete:
operationId: deleteApiCustomerTokensId
summary: Delete Customer Token
tags:
- Customer
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
const: true
required:
- success
'400':
description: 'Invalid or missing parameters: `invalidRequestBody` with `data.issues`, or a field-specific code.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, invalid or expired API token (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Authenticated, but the role, the customer binding or the scopes of the token do not allow this call (e.g. `forbidden`, `customerScopedTokenForbidden`, `apiTokenScopeForbidden`). See https://docs.uptimeify.io/api/introduction/permissions-by-endpoint.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such resource, or not visible to this token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: DELETE /api/customer/tokens/:id
components:
schemas:
Error:
type: object
description: Error envelope returned for every non-2xx response. Branch on `data.code`, a stable camelCase code listed at https://docs.uptimeify.io/api/error-codes-and-known-pitfalls; `statusMessage` is an English explanation that says what to change and may be reworded.
properties:
error:
type: boolean
const: true
description: Always true on an error response.
url:
type: string
description: The request URL that failed.
statusCode:
type: integer
description: HTTP status code, repeated in the body.
statusMessage:
type: string
description: 'Actionable English reason, safe to show to a user. Not a contract: branch on data.code.'
message:
type: string
description: Same as statusMessage; kept for client compatibility.
data:
type: object
description: Carries the stable `code`, the `requestId` of the call and, depending on the error, more context.
properties:
code:
type: string
description: Stable machine-readable error code. Never renamed; a replacement is announced with a deprecation window.
requestId:
type: string
description: Id of this request (also the X-Request-ID response header). Quote it when reporting a problem.
issues:
type: array
description: Validation problems (`invalidRequestBody`), one per field, without the submitted values.
items:
type: object
properties:
path:
type: string
message:
type: string
retryAfter:
type: integer
description: Seconds to wait before retrying (429 only).
required:
- error
- statusCode
- statusMessage
- message
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Uptimeify API token, e.g. "Authorization: Bearer wsm_...".'