Skip to main content

Overview

Relixir sends webhooks to your configured endpoints for various events including visitor identification and CMS content changes. Use webhooks to integrate with your CRM, marketing automation, or custom systems in real-time.

Visitor Identification

Receive real-time visitor data including company enrichment, contact information, session details, traffic source attribution, and AI search detection

CMS Content Events

Get notified when CMS content is published, updated, or deleted

Supported Events


Setting Up Webhooks

1

Configure your endpoint

Create an HTTPS endpoint in your application that accepts POST requests with JSON payloads.
2

Add webhook subscription

Go to SettingsVisitor ID in your Relixir dashboard and add your endpoint URL in the Webhook Subscriptions section.
3

Select events

Choose which events you want to receive. You can select multiple event types per subscription.
4

Test the integration

Verify your endpoint receives and processes webhooks correctly by triggering an event.

Webhook Headers

Relixir sends webhooks with these headers:

Visitor Identification Webhook

When a visitor is identified, Relixir sends a visitor.identified webhook to your configured endpoint:

Payload Structure

Visitor Kinds

The company and contact objects are only included when that data is available. Anonymous visitors may only have company-level identification.

Payload Data: AI Search Detection

The visitor.identified webhook automatically includes AI search detection:
ChatGPT is detected via UTM source parameter (e.g., ?utm_source=chatgpt) since ChatGPT doesn’t send a referrer header.

Payload Data: Traffic Classification

All traffic is classified into categories in the ref_medium field:

Payload Data: CMS Content Attribution

The pages_viewed array in the webhook identifies which pages are Relixir-managed content:
  • is_cms_content: Boolean indicating if the page is Relixir CMS content
  • cms_content_item_id: UUID of the Relixir content item if applicable
This enables attribution of which Relixir blogs drive traffic and engagement.

CMS Content Webhooks

When CMS content is published, updated, or deleted, Relixir sends a webhook with the following payload structure:

Payload Structure

CMS Event Types

Payload Fields

CMS webhooks are triggered for all deployment modes including hosted blogs, spreadsheet deployments, and external CMS integrations.

Troubleshooting

  • Verify your endpoint URL is correct and publicly accessible
  • Ensure your endpoint returns a 2xx status code within 10 seconds
  • Check your server logs for incoming POST requests
  • Verify your blog posts are published (not drafts)
  • Check that deployment slugs match URL paths
  • Confirm BlogSettings.blogSlugPrefix is configured correctly
  • AI search detection uses referrer URLs and UTM parameters
  • ChatGPT doesn’t send a referrer, so it requires utm_source=chatgpt in your URLs
  • Verify UTM parameters are preserved when visitors land on your site
  • Not all visitors can be identified at the contact level
  • Some visitors only have company-level identification
  • The company and contact fields are only present when data is available

Webhook Delivery

Relixir uses the following delivery behavior:
Your endpoint should return a 2xx status code to acknowledge receipt. Non-2xx responses (except 4xx client errors) trigger automatic retries.
Need help setting up webhooks? Contact support@relixir.ai.