Skip to main content

Overview

Cost Optix can deliver budget and anomaly alerts to your existing communication tools via webhooks. Webhooks are available on all plans. Supported platforms:
  • Slack
  • Microsoft Teams (Workflow — recommended)
  • Microsoft Teams (Legacy connector — deprecated)
  • Discord
  • Custom HTTP endpoint

Setting Up a Webhook

  1. Navigate to Settings → Webhooks
  2. Click Add Webhook
  3. Select your platform
  4. Paste your webhook URL
  5. Choose which events to subscribe to
  6. Optionally add a secret for payload verification
  7. Click Save and use Test to verify delivery

Webhook URLs by Platform

Create an Incoming Webhook in your Slack workspace:
  1. Go to api.slack.com/apps and create a new app
  2. Enable Incoming Webhooks in the app settings
  3. Click Add New Webhook to Workspace and select a channel
  4. Copy the webhook URL (format: https://hooks.slack.com/services/...)

Event Types

Budget Events

Anomaly Events

Report Events


Payload Format

All deliveries use POST with Content-Type: application/json.

Budget alert

Anomaly alert

For Slack, Teams, and Discord, Cost Optix sends a formatted message — not raw JSON. Budget alerts include a colour-coded card with spend details. Custom webhooks receive the raw JSON above.

Payload Verification

If you set a webhook secret, Cost Optix includes an X-Webhook-Signature header on every delivery signed with HMAC-SHA256. Verify it on your endpoint:

Delivery & Retries

Cost Optix attempts delivery up to 3 times with exponential backoff on non-2xx responses. View the full delivery history for each webhook in Settings → Webhooks → History, including HTTP status codes and response bodies.

Rate Limits