acked. Docs Open Acked
DocsDevelopers

HTTP API

Send alerts and automate Acked configuration with narrow, explicit credentials.

Download the OpenAPI 3.1 document. It covers alert ingest and every customer /api/* operation.

Automated clients can discover the public HTTP API through the API catalog. It follows RFC 9727 and returns application/linkset+json with links to the API, its OpenAPI document, and this guide.

The homepage also returns a Link response header on GET and HEAD requests. Its api-catalog, service-desc, service-doc, and describedby relations link to the catalog, OpenAPI document, API guide, and documentation index.

Organization admins can reveal a saved heartbeat URL with POST /api/heartbeat-monitors/:id/reveal. In MCP, use api_call with that method and path. The response contains heartbeat_url. Each reveal is audited. Old hash-only URLs require an explicit rotation first. Lists and ordinary detail reads omit the URL.

Choose a credential

CredentialUse
Service-scoped ingest URLOne emitter and one service. The URL is the credential. Send no authorization header or service_id. See direct sources.
Alert-ingest API key/v1/alerts when one emitter selects among services. See API keys.
Full-product API keyCustomer /api/* routes. Send X-Acked-Org: org_….
OAuth MCP grantInteractive agent setup using the signed-in person's current role. See MCP.

Store every credential as a secret. Never log an ingest URL, authorization header, webhook secret, or protected custom header.

Sign in to the web dashboard to accept updated agreements. API clients receive 403 agreement_consent_requires_web if they try to submit acceptance.

When a required agreement is pending, protected actions such as creating a service return 403 agreement_acceptance_required. Follow the dashboard link in the error. An admin accepts the Terms for the selected organization. Then retry with the same credential. You can still respond to alerts.

Trigger and recover with TypeScript

Pass the complete service-scoped URL from your application's secret store. A recovery uses the same event_key as its trigger.

interface AckedIngest { ingestUrl: string }

async function send(client: AckedIngest, action: "trigger" | "resolve") {
  const eventKey = "checkout-health";
  const response = await fetch(client.ingestUrl, {
    method: "POST",
    headers: { "content-type": "application/json" },
    body: JSON.stringify({
      title: "Checkout health check failed",
      event_key: eventKey,
      priority: "critical",
      action,
    }),
  });
  if (response.status !== 202) throw new Error(`Acked returned ${response.status}`);
  const receiptId = response.headers.get("x-acked-receipt-id");
  console.log(JSON.stringify({ event: "acked_ingest", receipt_id: receiptId, event_key: eventKey }));
}

Test a source template with POST /api/integrations/preview. A recovery needs the original event_key. See Liquid payload mapping.

Manage services with TypeScript

A full-product key uses the same customer routes as the dashboard. Keep the key and organization id in your application's secret store.

interface AckedClient {
  apiKey: string;
  organizationId: string;
  scheduleId: string;
}

async function createService(client: AckedClient) {
  const response = await fetch("https://api.acked.dev/api/services", {
    method: "POST",
    headers: {
      authorization: `Bearer ${client.apiKey}`,
      "x-acked-org": client.organizationId,
      "content-type": "application/json",
    },
    body: JSON.stringify({
      name: "Checkout",
      schedule_id: client.scheduleId,
      dedupe_mode: "event_key_only",
    }),
  });
  if (!response.ok) throw new Error(`Acked returned ${response.status}`);
  return response.json(); // includes default_integration.ingest_url
}

Record ingest receipts

Every successful native ingest response returns the stable accepted-envelope id as receipt_id and X-Acked-Receipt-Id. It stays the same through buffering and retries. alert_id names the resulting alert when one is immediately known and can differ after deduplication.

PagerDuty Events API v2 responses retain their standard body. Read X-Acked-Receipt-Id for the Acked receipt.

Keep the receipt with the source system's event_key. Log every non-202 response. Sample successful receipts when full success logging would be noisy.

Define webhook templates

{
  "version": 1,
  "body": {
    "text": "[{{ event | upper }}] {{ priority | upper }}: {{ title | escape_mrkdwn }}",
    "url": "{{ alert_url }}"
  }
}

body can be any JSON value. The render context contains event, ts, alert_id, alert_url, title, body, priority, urgency, status, service_name, acked_by_email, and resolved_by_email. Version 1 can gain fields without changing existing ones.

Filters: default(x), lower, upper, truncate(n), join(sep), map({...}), to_string, json, escape_mrkdwn, and escape_html. Templates have no loops, arithmetic, network access, or secret access.

Preview with POST /api/webhooks/preview. Slack, Discord, and Teams have provider-ready defaults. Custom webhooks require a versioned template. Acked-native webhooks accept no template. See Reuse a payload template for destination setup.

Customer status pages

Status pages are in pilot. Manage configuration, components, public incidents, and updates through the HTTP API. Page reads include public_url for the current deployment environment. Publishing requires explicit confirmation. Corrections and deletions send no email. See status-page setup and the complete operation schemas.

Status page themes

When theme access is enabled, POST /api/status-pages/:id/theme/generate accepts {"url":"https://example.com"} and returns draft css and a matched style count. Read can_edit_theme on the page response. Save edited CSS through PATCH /api/status-pages/:id with {"theme_css":":root{--status-accent:#175cd3}"}. An empty string resets the theme.

The same organization scope, feature gate, validation, and member access apply to HTTP and MCP. For MCP, use api_describe and api_call with these methods and paths. See appearance setup and limits.

Custom status page domains

Custom domains have a separate rollout. Every plan allows one custom subdomain per page when setup is available. Root domains and wildcard names are not supported. The hosted address keeps working.

Use GET or POST /api/status-pages/:id/domain to read or add setup. Use POST /api/status-pages/:id/domain/check to request a check and DELETE /api/status-pages/:id/domain to request removal. Setup and removal finish in the background. Read the setup again to see its state and DNS instructions.

These operations also use api_catalog, api_describe, and api_call through MCP. Scope and permissions match the dashboard. Disabling new setup leaves existing domains, checks, and removal usable. See domain setup.

Setup progress

The dashboard setup checklist uses existing product operations. Read GET /api/me for features.unified_onboarding. Read services, devices, users, and service alerts through /api/services, /api/devices, /api/users, and /api/alerts?service_id=SERVICE_ID&limit=50.

The cards also read sources, monitors, and status pages through /api/integrations, /api/http-monitors, /api/heartbeat-monitors, and /api/status-pages. First-service setup reads the starter schedule through /api/schedules. Schedule configuration stays with services. Monitor and status-page reads require their existing feature access.

To connect a shared Slack workspace, select the Acked organization and call GET /api/slack/install. Complete consent in Slack. Create channel destinations in the selected organization through POST /api/slack/destinations.

In MCP, use api_describe and api_call for these reads and the existing service, source, monitor, status-page, invitation, and alert writes. Select the organization with org_id. Normal permissions and limits apply.

The first service and a sent alert for that service precede the setup cards. Use PUT /api/alerts/:id/ack to acknowledge an alert. Acknowledgement and resolution do not gate the checklist. Sending instructions use the service ingest URL from creation or the existing audited source reveal operation. Phone installation, notification consent, MCP client login, and banner dismissal are browser or device steps.

Preview initial paging and schedule coverage

Members in the pilot can read GET /api/services/:id/routing-preview and GET /api/schedules/:id/routing-preview. Set at to a UTC time in whole seconds, such as 2026-11-26T15:41:00Z. For a schedule, you can also set level (1 to 10). The response gives the selected time, level, and user IDs. A service with no coverage returns an empty list and a null level. These reads use current rules and do not send a page.

Read an on-call report

Use GET /api/reports/on-call to read alert volume, time to first acknowledgment, escalation rate, and time to resolution for the selected organization. The report includes a daily trend and a service breakdown.

Pass optional from and to dates in YYYY-MM-DD format. Both are inclusive UTC dates. The default covers the last seven UTC days, including today. Acked clips results to the retained history and counts alert activity through the end of the selected period.

Check features.on_call_reports in GET /api/me for the selected organization. During the pilot, access is limited to Glasstack and synthetic checks. The report returns 403 when it is disabled. See the MCP guide to read the same report from an agent.