Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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.
openapi: 3.2.0
info:
title: Uptimeify REST Health 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: Health
paths:
/api/health:
get:
operationId: getApiHealth
summary: GET /api/health
tags:
- Health
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
status:
type: string
const: ok
timestamp:
type: string
format: date-time
required:
- status
- timestamp
description: Public, no authentication. The schema verdict is only shown to internal callers.
'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'
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_...".'