Auxmeta docs
  • Pricing
  • Compare
  • Customers
  • Docs
  • Blog
Sign inGet started

Webhooks

Receive real-time notifications for crawls, issues, keyword changes, and more.

Webhook Events

crawl_complete

Fired when a site crawl finishes

{
  "event": "crawl_complete",
  "site_id": "site_1",
  "job_id": "job_123",
  "pages_crawled": 142,
  "issues_found": 23,
  "timestamp": "2024-01-15T10:30:00Z"
}

new_issues

When new SEO issues are detected

{
  "event": "new_issues",
  "site_id": "site_1",
  "issues": [
    {
      "type": "missing_h1",
      "severity": "major",
      "url": "https://example.com/page",
      "count": 5
    }
  ]
}

keyword_position_change

When tracked keyword positions change significantly

{
  "event": "keyword_position_change",
  "site_id": "site_1",
  "keyword": "best seo tool",
  "old_position": 15,
  "new_position": 8,
  "change": 7
}

content_updated

When page content significantly changes

{
  "event": "content_updated",
  "site_id": "site_1",
  "url": "https://example.com/article",
  "old_hash": "abc123...",
  "new_hash": "def456..."
}

Webhook Security

Signature Verification

All webhooks include an X-Auxmeta-Signature header for verification:

const crypto = require('crypto');

function verifySignature(payload, signature, secret) {
  const hash = crypto
    .createHmac('sha256', secret)
    .update(payload)
    .digest('hex');
  
  return crypto.timingSafeEqual(
    Buffer.from(signature),
    Buffer.from(hash)
  );
}

Store your webhook secret securely and never expose it. Always verify signatures before processing webhooks.

Retry Policy

Failed webhooks are automatically retried with exponential backoff:

AttemptDelay
1stImmediate
2nd2 minutes
3rd4 minutes
4th+Up to 24 hours

After 10 failed attempts, the webhook is disabled automatically.

← Back to EndpointsSDKs →