Uptimeify Auth API
The Auth API from Uptimeify — 1 operation(s) for auth.
The Auth API from Uptimeify — 1 operation(s) for auth.
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-auth-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 Auth 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: Auth
paths:
/api/auth/get-session:
get:
operationId: getApiAuthGetSession
summary: Get Current User
tags:
- Auth
responses:
'200':
description: OK
content:
application/json:
schema:
anyOf:
- type: object
properties:
session:
type: object
properties:
userId:
type: string
expiresAt:
type: string
format: date-time
required:
- userId
- expiresAt
user:
type: object
properties:
id:
type: string
name:
type:
- string
- 'null'
firstName:
type:
- string
- 'null'
lastName:
type:
- string
- 'null'
organizationId:
type: integer
exclusiveMinimum: 0
organizationPublicId:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
organizationStatus:
type:
- string
- 'null'
deactivationReason:
description: trial_expired, dunning or admin while the organization is suspended.
type:
- string
- 'null'
hasCompletedOnboarding:
type: boolean
onboardingRequired:
type: boolean
isActive:
type: boolean
twoFactorEnabled:
type: boolean
hasCustomerAssignments:
type: boolean
mfaEnrollmentBlocked:
type: boolean
description: The login must set up a second factor before it can continue.
createdAt:
anyOf:
- type: string
format: date-time
- type: 'null'
updatedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
required:
- id
- name
- firstName
- lastName
- organizationId
- organizationPublicId
- organizationStatus
- deactivationReason
- hasCompletedOnboarding
- onboardingRequired
- isActive
- twoFactorEnabled
- hasCustomerAssignments
- mfaEnrollmentBlocked
- createdAt
- updatedAt
required:
- session
- user
- type: object
properties:
session:
type: 'null'
user:
type: 'null'
required:
- session
- user
description: Not signed in.
example:
session:
userId: redacted-user
expiresAt: '2027-04-03T10:05:01.625Z'
token: ''
user:
id: api-token-redacted
name: Name 003
firstName: FirstName 004
lastName: LastName 005
organizationId: 1
isActive: true
createdAt: '2026-04-03T09:57:48.043Z'
updatedAt: '2026-04-03T09:57:48.043Z'
organizationStatus: active
'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/auth/get-session
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_...".'