Skip to content

Webhooks

JustAI uses inbound webhooks to receive engagement and delivery events from your messaging platform. This data powers the bandit optimization engine — the more events JustAI receives, the faster it learns which variants perform best.

  1. You configure your messaging platform to forward events (sends, opens, clicks, conversions) to a JustAI webhook URL.
  2. JustAI matches each event to the variant that was served, using the tracking_id or platform-specific identifiers.
  3. The optimization engine updates its model, improving future variant selection.

Each integration has its own webhook endpoint:

PlatformEndpoint
Customer.ioPOST https://worker.justwords.ai/api/webhook/cio/:org_slug
IterablePOST https://worker.justwords.ai/api/webhook/itbl/:org_slug
BrazePOST https://worker.justwords.ai/api/webhook/braze/:org_slug
SegmentPOST https://worker.justwords.ai/api/webhook/segment/:org_slug
Salesforce Marketing CloudPOST https://worker.justwords.ai/api/webhook/sfmc/:org_slug
Custom EventsPOST https://worker.justwords.ai/api/webhook/events/:org_slug

Replace :org_slug with your organization identifier (e.g., your-company-name).

JustAI processes the following event types from each platform:

  • Delivery events — confirms the message was sent.
  • Engagement events — opens, clicks, and other interactions.
  • Conversion events — downstream actions tied to a message.

The exact event names and payload formats vary by platform. JustAI normalizes them internally.

Webhook configuration is done in your messaging platform’s settings. For step-by-step setup instructions, see the integration guide for your platform:

The custom events endpoint (/api/webhook/events/:org_slug) accepts arbitrary event data that doesn’t come from a supported platform. Use this to send conversion or engagement signals from your own backend.