---
title: "Get Escalation Config"
method: GET
path: "/api/escalation-config/{id}"
tags: ["Escalation Config"]
---

# Get Escalation Config

`GET /api/escalation-config/{id}`

## Request

- Base URL: `https://uptimeify.io`
- URL: `https://uptimeify.io/api/escalation-config/{id}`
- Auth: HTTP bearer

GET /api/escalation-config/:id

## Path parameters

- `id` string, required

## Response `200`

Successful response

- object: {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.
  - `id` integer, nullable, required: null while nothing is saved yet.
  - `organizationId` integer, required
  - `webhookUrl` string, nullable, required
  - `webhookMethod` string, nullable, required: POST, PUT or PATCH.
  - `webhookHeaders` object, nullable, required
  - `webhookBodyTemplate` string, nullable, required
  - `webhookTimeout` integer, nullable, required
  - `webhookRetryAttempts` integer, nullable, required
  - `webhookRetryDelay` integer, nullable, required
  - `expectedStatusCodes` string, nullable, required
  - `lastTestedAt` string, date-time, nullable, required
  - `lastTestStatus` 'success' | 'failed', nullable, required
  - `lastTestError` string, nullable, required
  - `isActive` boolean, required
  - `createdAt` string, date-time, nullable, required
  - `updatedAt` string, date-time, nullable, required
  - `organization` object, nullable, required
    - `defaultEmail` string, nullable, required
    - `defaultPhoneNumber` string, nullable, required
    - `defaultNotificationChannels` object, nullable, required
    - `defaultNotificationTargets` object, nullable, required
    - `defaultNotificationRules` object, nullable, required
  - `notificationChannels` object[], required: Organization and customer channels, without website overrides.
    - `id` integer, required
    - `organizationId` integer, required
    - `customerId` integer, nullable, required: null = organization channel.
    - `websiteId` integer, nullable, required: Set for a website-specific override.
    - `type` string, required: Channel type, e.g. email, sms, webhook, slack.
    - `category` 'direct' | 'integration', required
    - `name` string, required
    - `config` object, required: Provider settings. Secrets come back as null with a has<Secret> flag beside them.
    - `delaySeconds` integer, nullable, required
    - `conditions` object, nullable, required
    - `allowedPackageTypes` string[], nullable, required: null = all packages.
    - `isActive` boolean, required
    - `verifiedAt` string, date-time, nullable, required: Last proven delivery; null = never verified.
    - `createdAt` string, date-time, required

## Other responses

- `400`: Invalid or missing parameters.
- `401`: Missing, invalid or expired API token.
- `404`: No such resource, or not visible to this token.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api.md) · [All operations](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/revisions/2129a771ee7e?raw)
