Skip to main content
menu_icon.png

Everything you need to switch from Optimizely Classic to X in one place: See the Optimizely X Web Transition Guide.

x
Optimizely Knowledge Base

Set up a webhook for an SDK project datafile

 
RELEVANT PRODUCTS:
  • Optimizely X Full Stack
  • Optimizely X Mobile
  • Optimizely X OTT

tHIS ARTICLE WILL HELP YOU:
  • Ensure that you know when your datafile has been updated
  • Ensure that you know when your experiment has been changed
  • Set up a webhook

How do you make sure your server application has the most up-to-date version of the datafile? Set up a webhook to receive an update every time the datafile changes.

A webhook is an HTTP callback that notifies your server application when the datafile is updated. Register a URL that Optimizely will notify anytime the datafile changes.

See additional resources
Here are all our articles about the Optimizely dashboard, which you'll use to create projects, add collaborators, manage privacy settings, and more: 

Here's our developer documentation, where you'll find code samples, full references for our SDKs, and getting started guides.

Here's how to set up a webhook, followed by step-by-step instructions:

  1. Navigate to the Settings dashboard.

  2. Click the Webhooks tab.

  3. Enter the URL where Optimizely will send datafile updates.

  4. Click Save.

You can set up and use multiple webhooks in Optimizely.

Learn more about webhooks, including the format of the webhook payload and code samples, in our developer documentation.