Skip to main content
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog

Loading…

Servers Are Up

Your apps, automation and data on hardware we own. Build a private stack with predictable capacity and access through your dashboard, API or SSH.

SLA with service creditsOwned hardwareUS-based

Make room for your next idea

Explore the capacity, apps and access options that fit your workload. Check current availability and your total before you buy.

Sign up freeView Pricing

Products

  • Linux VPS
  • Windows VPS
  • Cloud & SaaS Services
  • Cloud Storage (Azure)
  • Virtual Datacenter
  • AI & Agent Hosting
  • Containers
  • Instant Apps
  • Software Platforms
  • Network builder
  • Game Servers
  • Free Game Servers
  • Pricing

Resources

  • Free Network Tools
  • 2026 Pricing Benchmark
  • Live SVG Badges
  • Latency & Speed Test
  • Guides & Tutorials
  • Documentation
  • API Reference
  • MCP Server
  • CLI & SDKs
  • OpenAPI & llms.txt
  • Use Cases
  • Free Migration
  • Uptime & Reliability
  • Datacenter
  • System Status
  • Network
  • Provider Comparisons Hub
  • Compare Providers

Company

  • About Us
  • Enterprise
  • Security Architecture
  • Trust Center
  • Blog
  • FAQ
  • Compliance
  • Startup Program
  • Open-Source Sponsorship
  • Press & Media Kit
  • Referral Program
  • Help Center
  • Contact Us
© Servers Are Up
TermsPrivacySLARefund PolicyDPAAcceptable Use
Service information
Docs
  • Documentation Hub
  • Technical Knowledge Library
    Runbooks & 187 Blueprints
  • Choose a Product
    VMs, Containers & Cloud
  • First Linux Server
    SSH, Firewall & Apps
  • Windows Server 2025
    BYOL & Remote Desktop
  • Remote Access
  • Troubleshooting
  • FAQ
  • All Product Guides
    29 Step-by-Step Guides
  • Cloud & SaaS Catalog
    112 Cloud & SaaS Offerings
  • Azure Cloud Storage
    Hot/Cool/Archive & WORM
  • Resource Manager & RBAC
    Groups, Tags & Locks
  • Multi-Model Cloud DB
    JSONB, SQL & pgvector
  • Cloud Identity & ZTNA
    OIDC, SCIM & PIM
  • Key Vault & KMS
    Secrets & Envelope Keys
  • Cloud SIEM, SOAR & DLP
    Posture & Threat Response
  • API Gateway & Cloud DNS
    Edge WAF & DNS Zones
  • Serverless, Workflows & IoT
    Functions, Queues & DAGs
  • SaaS, Governance & Vault
    Budgets & Off-Host GRS
  • Linux Systems & Kernel
    SSH, UFW, sysctl & OOM
  • Self-Hosted Apps & Stacks
    Caddy, Nextcloud & Auth
  • Build Web Apps with AI
  • Next.js and React
  • TypeScript and Node.js
  • npm and Tooling
  • Data and APIs
  • Deploy and Operate
  • Tutorials
  • Infrastructure
  • Automation & Regions
  • API Overview
  • API v1 Reference
    Endpoints & 23 Scopes
  • MCP Server
    129 AI Agent Tools
  • Swagger / OpenAPI 3.1
  • API Playground
  • Versioning & Sunset
  • API Token Security
    Authentication & Tokens
  • Instances API
    Compute Resources
  • Networking API
    Networks & Ports
  • Storage API Availability
    Volumes & Backups
  • Webhooks & Events
    Event Notifications
  • Rate Limits & Best Practices
    Throttling & Retries
  • sau CLI Reference
    34 Commands (v0.2)
  • Browser Web CLI
  • SDKs
  • Infrastructure as Code
    Terraform & Ansible
  • Code Examples
  • CLI & SDK Guides
  • Security Guides
  • Security at a Glance
  • Zero Trust Architecture
  • Live Trust Center
  • Compliance
Need help?

Loading documentation...

Documentation/security

Webhooks & Events

Receive real-time event notifications and integrate with your systems.

Advanced
9 min
Updated 2026-03-11

Deploy Ready-to-Run Infrastructure in Seconds

Linux VMs from $6/mo · Pooled Virtual Datacenters from $12/mo · Use code WELCOME20 for 20% off your first order.

Browse ServersView Pricing

Personal webhooks deliver the instance lifecycle events that have active call sites today. The accepted values are *, instance.created, and instance.deleted. Power, snapshot, backup, billing, security, storage, and networking event names are not accepted or emitted by this API.

How Webhooks Work

  1. You register an endpoint URL with us
  2. When an event occurs, we send an HTTP POST to your URL
  3. Your server processes the event and returns a 2xx status code
  4. If delivery fails, we retry with exponential backoff

Create a Webhook

POST /api/v1/webhooks
Field Type Required Description
name string Yes Display name, 1-60 characters
url string Yes Your HTTPS endpoint
events string[] Yes One or more accepted event values
secret string No Signing secret; a secret is generated and returned once when omitted
curl -X POST https://serversareup.com/api/v1/webhooks \
  -H "Authorization: Bearer $SAU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "production-events",
    "url": "https://example.com/webhooks/sau",
    "events": ["instance.created", "instance.deleted"],
    "secret": "whsec_your_secret_here"
  }'

Event Types

Event Description
* Every event emitted for your personal webhook scope
instance.created Provisioning reached the platform's ready notification point
instance.deleted An instance entered the recoverable recycle-bin lifecycle

Webhook Payload

All webhook deliveries use this format:

{
  "id": "evt_abc123",
  "event": "instance.created",
  "createdAt": "2026-08-24T12:00:00.000Z",
  "data": {
    "instanceId": "ins_abc123",
    "productName": "Published game plan",
    "host": "203.0.113.10"
  }
}

Verifying Webhook Signatures

Every newly created personal webhook has a signing secret. Each signed delivery includes:

X-SAU-Signature: t=<unix_seconds>,v1=<hex_hmac_sha256>

Verify it in your handler:

const crypto = require('crypto');

function verifySignature(rawBody, signature, secret) {
  const parts = Object.fromEntries(
    signature.split(',').map((part) => part.split('=', 2))
  );
  if (!parts.t || !parts.v1) return false;
  const timestamp = Number(parts.t);
  if (!Number.isInteger(timestamp)) return false;
  const nowSeconds = Math.floor(Date.now() / 1000);
  if (Math.abs(nowSeconds - timestamp) > 300) return false;
  const expected = crypto
    .createHmac('sha256', secret)
    .update(`${parts.t}.${rawBody}`)
    .digest('hex');
  const actualBuffer = Buffer.from(parts.v1, 'hex');
  const expectedBuffer = Buffer.from(expected, 'hex');
  return actualBuffer.length === expectedBuffer.length &&
    crypto.timingSafeEqual(actualBuffer, expectedBuffer);
}
import hmac
import hashlib
import time

def verify_signature(raw_body: bytes, signature: str, secret: str) -> bool:
    parts = dict(part.split('=', 1) for part in signature.split(','))
    timestamp = parts.get('t', '')
    supplied = parts.get('v1', '')
    try:
        timestamp_seconds = int(timestamp)
    except ValueError:
        return False
    if abs(int(time.time()) - timestamp_seconds) > 300:
        return False
    signed = timestamp.encode() + b'.' + raw_body
    expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
    return bool(timestamp and supplied) and hmac.compare_digest(supplied, expected)

Reject signatures whose timestamp differs from your server clock by more than 300 seconds to limit replay attacks.

Retry Policy

Network errors, timeouts, HTTP 408, HTTP 429, and 5xx responses use bounded exponential retries. Other 4xx responses are treated as endpoint configuration errors and are not retried. The current defaults are three total attempts, a 10-second timeout per attempt, and 500 ms / 1 second backoff delays; operators can lower or raise those bounded settings. Endpoints are automatically paused after the configured consecutive failed-delivery threshold (15 by default). No email notification is promised by this retry engine.

Managing Webhooks

List Webhooks

GET /api/v1/webhooks

View Delivery History

GET /api/account/webhooks/:id/deliveries

Delivery history is an authenticated dashboard-session endpoint, not part of public API v1. It shows recent event names, outcomes, status codes, response times, errors, retry counts, and timestamps for an endpoint you own.

Delete Webhook

DELETE /api/v1/webhooks?id=WEBHOOK_ID

Best Practices

  1. Always verify signatures — Don't trust unverified payloads
  2. Respond quickly — Return 200 immediately, process asynchronously
  3. Handle duplicates — Use the id field for idempotency
  4. Use HTTPS — We only deliver to HTTPS endpoints
  5. Monitor delivery health — Check the webhook dashboard for failures

Next Steps

  • API Token Security
  • Rate Limits
  • GitHub Actions Integration

Related Articles

API Token Security

Read more

Rate Limits & Best Practices

Read more

GitHub Actions Integration

Read more

Frequently Asked Questions

What does the Webhooks & Events documentation guide cover?
Receive real-time event notifications and integrate with your systems. It is rated advanced difficulty (9 min) and applies to Servers Are Up infrastructure and workflows.
Can I manage or automate these steps through the Servers Are Up dashboard, REST API v1, or MCP server?
Yes. Every Servers Are Up server includes browser-based SSH, WebRDP, and VNC console access in the dashboard, plus programmatic control via the REST API v1 (/api/v1) and hosted Model Context Protocol server (/api/mcp/v1) using a scoped Personal Access Token.

Need hands-on help with Webhooks & Events?

Every Servers Are Up virtual machine and container includes an integrated HTML5 browser-based SSH, RDP, and VNC console in your dashboard, default-off inbound firewall rules with per-IP allow-lists, and full programmatic control via REST API v1 and Model Context Protocol (MCP). Explore our Virtual Datacenter Plans or reach out to Servers Are Up Support.

Was this article helpful?

On this page

How Webhooks WorkCreate a WebhookEvent TypesWebhook PayloadVerifying Webhook SignaturesRetry PolicyManaging WebhooksList WebhooksView Delivery HistoryDelete WebhookBest PracticesNext Steps
Need Live Commands?

Open Aria in Wide Engineering Mode for distro-specific commands, compose tweaks, and isolated environment troubleshooting.

Knowledge Library