5 min readUpdated 2024-11-28

Webhooks

Receive real-time notifications when events occur in NeuroCron.

Setting Up Webhooks

  • Go to **Settings → Webhooks**
  • Click **Add Endpoint**
  • Enter your URL and select events
  • Save and test

Available Events

EventDescription
campaign.createdNew campaign created
campaign.updatedCampaign modified
campaign.pausedCampaign paused
budget.thresholdBudget threshold reached
performance.alertPerformance anomaly detected
content.generatedContent generation completed

Webhook Payload

Each webhook includes:

  • id: Event ID
  • type: Event type
  • created_at: Timestamp
  • data: Event-specific data

Verifying Webhooks

Verify signatures using HMAC-SHA256 with your webhook secret.

Retry Policy

Failed webhooks are retried:

  • 1st retry: 1 minute
  • 2nd retry: 5 minutes
  • 3rd retry: 30 minutes
  • 4th retry: 2 hours
  • 5th retry: 24 hours

After 5 failures, the endpoint is disabled.

Was this page helpful?