Uptimeify Escalation Config API
The Escalation Config API from Uptimeify — 2 operation(s) for escalation config.
The Escalation Config API from Uptimeify — 2 operation(s) for escalation config.
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-escalation-config-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 Escalation Config 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: Escalation Config
paths:
/api/escalation-config/{id}:
get:
operationId: getApiEscalationConfigId
summary: Get Escalation Config
tags:
- Escalation Config
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
id:
anyOf:
- type: integer
exclusiveMinimum: 0
- type: 'null'
description: null while nothing is saved yet.
organizationId:
type: integer
exclusiveMinimum: 0
webhookUrl:
type:
- string
- 'null'
webhookMethod:
description: POST, PUT or PATCH.
type:
- string
- 'null'
webhookHeaders:
anyOf:
- type: object
propertyNames:
type: string
additionalProperties:
type: 'null'
- type: 'null'
description: Header names only, values are never returned; see hasWebhookHeaders.
hasWebhookHeaders:
type: boolean
webhookBodyTemplate:
type:
- string
- 'null'
webhookTimeout:
anyOf:
- type: integer
- type: 'null'
webhookRetryAttempts:
anyOf:
- type: integer
- type: 'null'
webhookRetryDelay:
anyOf:
- type: integer
- type: 'null'
expectedStatusCodes:
type:
- string
- 'null'
lastTestedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
lastTestStatus:
anyOf:
- type: string
enum:
- success
- failed
- type: 'null'
lastTestError:
type:
- string
- 'null'
isActive:
type: boolean
createdAt:
anyOf:
- type: string
format: date-time
- type: 'null'
updatedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
organization:
anyOf:
- type: object
properties:
defaultEmail:
type:
- string
- 'null'
defaultPhoneNumber:
type:
- string
- 'null'
defaultNotificationChannels:
anyOf:
- type: object
propertyNames:
type: string
additionalProperties: {}
- type: 'null'
defaultNotificationTargets:
anyOf:
- type: object
propertyNames:
type: string
additionalProperties: {}
- type: 'null'
defaultNotificationRules:
anyOf:
- type: object
propertyNames:
type: string
additionalProperties: {}
- type: 'null'
required:
- defaultEmail
- defaultPhoneNumber
- defaultNotificationChannels
- defaultNotificationTargets
- defaultNotificationRules
- type: 'null'
notificationChannels:
type: array
items:
type: object
properties:
id:
type: integer
exclusiveMinimum: 0
organizationId:
type: integer
exclusiveMinimum: 0
customerId:
anyOf:
- type: integer
exclusiveMinimum: 0
- type: 'null'
description: null = organization channel.
websiteId:
anyOf:
- type: integer
exclusiveMinimum: 0
- type: 'null'
description: Set for a website-specific override.
type:
type: string
description: Channel type, e.g. email, sms, webhook, slack.
category:
type: string
enum:
- direct
- integration
name:
type: string
config:
type: object
propertyNames:
type: string
additionalProperties: {}
description: Provider settings. Secrets come back as null with a has<Secret> flag beside them; custom header values (headers, webhookHeaders) come back as null with their names kept, see hasHeaders.
delaySeconds:
anyOf:
- type: integer
- type: 'null'
conditions:
anyOf:
- type: object
propertyNames:
type: string
additionalProperties: {}
- type: 'null'
allowedPackageTypes:
anyOf:
- type: array
items:
type: string
- type: 'null'
description: null = all packages.
isActive:
type: boolean
verifiedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
description: Last proven delivery; null = never verified.
createdAt:
type: string
format: date-time
required:
- id
- organizationId
- customerId
- websiteId
- type
- category
- name
- config
- delaySeconds
- conditions
- allowedPackageTypes
- isActive
- verifiedAt
- createdAt
description: Organization and customer channels, without website overrides. config.headers carries header names only (values null), see hasHeaders.
required:
- id
- organizationId
- webhookUrl
- webhookMethod
- webhookHeaders
- hasWebhookHeaders
- webhookBodyTemplate
- webhookTimeout
- webhookRetryAttempts
- webhookRetryDelay
- expectedStatusCodes
- lastTestedAt
- lastTestStatus
- lastTestError
- isActive
- createdAt
- updatedAt
- organization
- notificationChannels
description: '{id} is the organization id. Without a saved configuration the inactive defaults are returned (id, createdAt, updatedAt null), nothing is created; the first PATCH stores them.'
'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: GET /api/escalation-config/:id
patch:
operationId: patchApiEscalationConfigId
summary: Update Escalation Config
tags:
- Escalation Config
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
id:
type: integer
exclusiveMinimum: 0
organizationId:
type: integer
exclusiveMinimum: 0
webhookUrl:
type:
- string
- 'null'
webhookMethod:
description: POST, PUT or PATCH.
type:
- string
- 'null'
webhookHeaders:
anyOf:
- type: object
propertyNames:
type: string
additionalProperties:
type: 'null'
- type: 'null'
description: Header names only, values are never returned; see hasWebhookHeaders.
hasWebhookHeaders:
type: boolean
webhookBodyTemplate:
type:
- string
- 'null'
webhookTimeout:
anyOf:
- type: integer
- type: 'null'
webhookRetryAttempts:
anyOf:
- type: integer
- type: 'null'
webhookRetryDelay:
anyOf:
- type: integer
- type: 'null'
expectedStatusCodes:
type:
- string
- 'null'
lastTestedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
lastTestStatus:
anyOf:
- type: string
enum:
- success
- failed
- type: 'null'
lastTestError:
type:
- string
- 'null'
isActive:
type: boolean
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
required:
- id
- organizationId
- webhookUrl
- webhookMethod
- webhookHeaders
- hasWebhookHeaders
- webhookBodyTemplate
- webhookTimeout
- webhookRetryAttempts
- webhookRetryDelay
- expectedStatusCodes
- lastTestedAt
- lastTestStatus
- lastTestError
- isActive
- createdAt
- updatedAt
description: Creates the configuration from the defaults on first write. isActive false deactivates only the organization webhook channel (no websiteId, no customerId).
'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: PATCH /api/escalation-config/:id
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
webhookUrl:
description: null switches the organization webhook channel off.
type:
- string
- 'null'
webhookMethod:
type: string
enum:
- POST
- PUT
- PATCH
webhookHeaders:
anyOf:
- anyOf:
- type: object
propertyNames:
type: string
additionalProperties:
type:
- string
- 'null'
- type: string
description: Header object, or the same object as a JSON string. Replaces the stored list; a header whose value is null or empty keeps its stored value (responses never return values). Authorization, Cookie, Host, X-Forwarded-* and Proxy-* are refused.
- type: 'null'
webhookBodyTemplate:
description: JSON template with placeholders such as {{websiteName}}.
type: string
webhookTimeout:
description: Seconds.
type: integer
minimum: 1
maximum: 30
webhookRetryAttempts:
type: integer
minimum: 0
maximum: 10
webhookRetryDelay:
description: Seconds.
type: integer
minimum: 0
maximum: 60
expectedStatusCodes:
description: Comma-separated, e.g. 200,201,202,204.
type: string
isActive:
type: boolean
defaultEmail:
description: Creates or updates the organization email channel; empty leaves it alone.
anyOf:
- type: string
format: email
pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
- type: string
const: ''
defaultPhoneNumber:
description: Creates or updates the organization SMS channel; empty leaves it alone.
type: string
maxLength: 32
example:
webhookUrl: https://deinkunde.com/webhook
webhookMethod: POST
webhookHeaders: {}
webhookBodyTemplate: null
webhookTimeout: 5000
webhookRetryAttempts: 3
webhookRetryDelay: 1000
expectedStatusCodes: 200,201,202
isActive: true
defaultEmail: escalations@deinkunde.com
defaultPhoneNumber: null
/api/escalation-config/{id}/test:
post:
operationId: postApiEscalationConfigIdTest
summary: Test Escalation Config
tags:
- Escalation Config
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
statusCode:
description: Webhook only.
type: integer
message:
type: string
required:
- success
- message
description: A failed delivery is 400 webhookTestFailed. webhookHeaders go through the same block list as on PATCH (400 webhookHostHeaderForbidden / invalidRequestBody).
'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: POST /api/escalation-config/:id/test
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
type:
description: Default webhook.
type: string
enum:
- webhook
- pagerduty
- pushover
config:
description: 'pagerduty: routingKey; pushover: userKey and apiToken.'
type: object
propertyNames:
type: string
additionalProperties: {}
webhookUrl:
description: Defaults to the saved URL; stored headers only travel to the saved URL.
type: string
webhookMethod:
type: string
enum:
- POST
- PUT
- PATCH
webhookHeaders:
type: object
propertyNames:
type: string
additionalProperties:
type: string
webhookBodyTemplate:
type: string
webhookTimeout:
type: integer
minimum: 1
maximum: 30
expectedStatusCodes:
type: string
example:
type: webhook
config: {}
webhookUrl: https://deinkunde.com/webhook
webhookMethod: POST
webhookHeaders: {}
webhookBodyTemplate: null
webhookTimeout: 5000
expectedStatusCodes: 200,201,202
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_...".'