> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LaunchDarkly Webhook Setup Guide

> Configure LaunchDarkly to deliver events to StackOne.

## Prerequisites

The connector should already be set up, with a Connector Profile and a Linked Account. See [Getting Started](/connectors/launchdarkly#getting-started) on the LaunchDarkly connector page.

<section data-guide-section data-guide-scopes="">
  <h2>How webhooks are set up</h2>

  <p>No configuration is required in LaunchDarkly. When you connect your account, StackOne creates the webhook for you and removes it when you disconnect.</p>

  <Steps>
    <Step title="One webhook is created">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>A single webhook named <strong>StackOne Events</strong> is registered on your account. LaunchDarkly webhooks cannot be filtered by event type, so it receives every entry written to your change history, and StackOne splits that stream into the events below.</p>
      </div>
    </Step>

    <Step title="Do not edit or delete it in LaunchDarkly">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The webhook appears under <strong>Organization settings > Integrations > Webhooks</strong>. Changing its URL or removing it there stops all event delivery until the account is reconnected.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Available webhook events</h2>

  <p>The events below can be enabled for this connection. Only events selected in StackOne are delivered.</p>

  <Steps>
    <Step title="Feature flag events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Changes to feature flags and their targeting.</p>

        <ul>
          <li><strong>Feature Flag Created</strong> (`flag.createFlag`) — Fired when a feature flag is created.</li>
          <li><strong>Feature Flag Description Updated</strong> (`flag.updateDescription`) — Fired when a flag's description is edited.</li>
          <li><strong>Feature Flag Expiring Targets Updated</strong> (`flag.updateExpiringTargets`) — Fired when a scheduled removal is added to or changed on a flag's targets.</li>
          <li><strong>Feature Flag Updated</strong> (`flag.*`) — Fired on any other change to a flag, including its targeting and on/off state.</li>
        </ul>
      </div>
    </Step>

    <Step title="Segment events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Changes to segments and their membership rules.</p>

        <ul>
          <li><strong>Segment Created</strong> (`segment.createSegment`) — Fired when a segment is created.</li>
          <li><strong>Segment Description Updated</strong> (`segment.updateDescription`) — Fired when a segment's description is edited.</li>
          <li><strong>Segment Updated</strong> (`segment.*`) — Fired on any other change to a segment, including its rules and membership.</li>
        </ul>
      </div>
    </Step>

    <Step title="Experiment and metric events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Changes to experiments and the metrics they measure.</p>

        <ul>
          <li><strong>Experiment Created</strong> (`experiment.createExperiment`) — Fired when an experiment is created.</li>
          <li><strong>Experiment Updated</strong> (`experiment.*`) — Fired on any other change to an experiment, including starting and stopping an iteration.</li>
          <li><strong>Metric Created</strong> (`metric.createMetric`) — Fired when a metric is created.</li>
          <li><strong>Metric Updated</strong> (`metric.*`) — Fired on any other change to a metric or metric group.</li>
        </ul>
      </div>
    </Step>

    <Step title="AI Config events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Changes to AI Configs and the model configs they reference.</p>

        <ul>
          <li><strong>AI Config Created</strong> (`aiconfig.createAIConfig`) — Fired when an AI Config is created.</li>
          <li><strong>AI Config Updated</strong> (`aiconfig.*`) — Fired on any other change to an AI Config or one of its variations.</li>
          <li><strong>AI Model Config Updated</strong> (`ai-model-config.*`) — Fired when a model config is created, changed or removed.</li>
        </ul>
      </div>
    </Step>

    <Step title="Project and environment events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Changes to projects, environments and their settings.</p>

        <ul>
          <li><strong>Project Created</strong> (`project.createProject`) — Fired when a project is created.</li>
          <li><strong>Project Renamed</strong> (`project.updateProjectName`) — Fired when a project is renamed.</li>
          <li><strong>Project Tags Updated</strong> (`project.updateTags`) — Fired when a project's tags change.</li>
          <li><strong>Project Deleted</strong> (`project.deleteProject`) — Fired when a project is deleted.</li>
          <li><strong>Project Updated</strong> (`project.*`) — Fired on any other change to a project's settings.</li>
          <li><strong>Environment Created</strong> (`environment.createEnvironment`) — Fired when an environment is created.</li>
          <li><strong>Environment Approval Settings Updated</strong> (`environment.updateApprovalSettings`) — Fired when an environment's approval requirements change.</li>
          <li><strong>Environment Updated</strong> (`environment.*`) — Fired on any other change to an environment, including renames and SDK key resets.</li>
        </ul>
      </div>
    </Step>

    <Step title="Context kind events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Changes to the context kinds defined in a project.</p>

        <ul>
          <li><strong>Context Kind Created</strong> (`context-kind.createContextKind`) — Fired when a context kind is created.</li>
          <li><strong>Context Kind Updated</strong> (`context-kind.*`) — Fired on any other change to a context kind.</li>
        </ul>
      </div>
    </Step>

    <Step title="Member, team and role events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Changes to account members, teams and custom roles.</p>

        <ul>
          <li><strong>Account Member Updated</strong> (`member.*`) — Fired when an account member is invited, changed or removed.</li>
          <li><strong>Team Created</strong> (`team.createTeam`) — Fired when a team is created.</li>
          <li><strong>Team Deleted</strong> (`team.deleteTeam`) — Fired when a team is deleted.</li>
          <li><strong>Team Updated</strong> (`team.*`) — Fired on any other change to a team, including its membership and roles.</li>
          <li><strong>Custom Role Created</strong> (`role.createRole`) — Fired when a custom role is created.</li>
          <li><strong>Custom Role Description Updated</strong> (`role.updateDescription`) — Fired when a custom role's description is edited.</li>
          <li><strong>Custom Role Updated</strong> (`role.*`) — Fired on any other change to a custom role, including its policy and its deletion.</li>
        </ul>
      </div>
    </Step>

    <Step title="Account configuration events">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Changes to access tokens, webhooks and integrations.</p>

        <ul>
          <li><strong>Access Token Updated</strong> (`token.*`) — Fired when an access token is created, reset or removed.</li>
          <li><strong>Webhook Created</strong> (`webhook.createWebhook`) — Fired when a webhook is created.</li>
          <li><strong>Webhook URL Updated</strong> (`webhook.updateUrl`) — Fired when a webhook's destination URL changes.</li>
          <li><strong>Webhook Secret Updated</strong> (`webhook.updateSecret`) — Fired when a webhook's signing secret changes.</li>
          <li><strong>Webhook Deleted</strong> (`webhook.deleteWebhook`) — Fired when a webhook is deleted.</li>
          <li><strong>Webhook Updated</strong> (`webhook.*`) — Fired on any other change to a webhook, including its name and enabled state.</li>
          <li><strong>Integration Created</strong> (`integration.createIntegration`) — Fired when an integration or data export destination is created.</li>
          <li><strong>Integration Deleted</strong> (`integration.deleteIntegration`) — Fired when an integration or data export destination is deleted.</li>
          <li><strong>Integration Updated</strong> (`integration.*`) — Fired on any other change, such as a rename or a configuration change.</li>
        </ul>
      </div>
    </Step>

    <Step title="Everything else">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Resource kinds without an event of their own, such as layers, holdouts, release<br />pipelines and code reference repositories. Each arrives under its own LaunchDarkly<br />resource name.</p>

        <ul>
          <li><strong>Other Change History Entry</strong> (`*`) — Fired for any resource kind without an event of its own.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

## Verify

Your Connector should now be able to receive and process events. Try triggering an event and you should see an Event appear in the Connector logs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.