Skip to main content

Prerequisites

The connector should already be set up, with a Connector Profile and a Linked Account. See Getting Started on the LaunchDarkly connector page.

How webhooks are set up

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

1

One webhook is created

A single webhook named StackOne Events 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.

2

Do not edit or delete it in LaunchDarkly

The webhook appears under Organization settings > Integrations > Webhooks. Changing its URL or removing it there stops all event delivery until the account is reconnected.

Available webhook events

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

1

Feature flag events

Changes to feature flags and their targeting.

  • Feature Flag Created (flag.createFlag) — Fired when a feature flag is created.
  • Feature Flag Description Updated (flag.updateDescription) — Fired when a flag’s description is edited.
  • Feature Flag Expiring Targets Updated (flag.updateExpiringTargets) — Fired when a scheduled removal is added to or changed on a flag’s targets.
  • Feature Flag Updated (flag.*) — Fired on any other change to a flag, including its targeting and on/off state.
2

Segment events

Changes to segments and their membership rules.

  • Segment Created (segment.createSegment) — Fired when a segment is created.
  • Segment Description Updated (segment.updateDescription) — Fired when a segment’s description is edited.
  • Segment Updated (segment.*) — Fired on any other change to a segment, including its rules and membership.
3

Experiment and metric events

Changes to experiments and the metrics they measure.

  • Experiment Created (experiment.createExperiment) — Fired when an experiment is created.
  • Experiment Updated (experiment.*) — Fired on any other change to an experiment, including starting and stopping an iteration.
  • Metric Created (metric.createMetric) — Fired when a metric is created.
  • Metric Updated (metric.*) — Fired on any other change to a metric or metric group.
4

AI Config events

Changes to AI Configs and the model configs they reference.

  • AI Config Created (aiconfig.createAIConfig) — Fired when an AI Config is created.
  • AI Config Updated (aiconfig.*) — Fired on any other change to an AI Config or one of its variations.
  • AI Model Config Updated (ai-model-config.*) — Fired when a model config is created, changed or removed.
5

Project and environment events

Changes to projects, environments and their settings.

  • Project Created (project.createProject) — Fired when a project is created.
  • Project Renamed (project.updateProjectName) — Fired when a project is renamed.
  • Project Tags Updated (project.updateTags) — Fired when a project’s tags change.
  • Project Deleted (project.deleteProject) — Fired when a project is deleted.
  • Project Updated (project.*) — Fired on any other change to a project’s settings.
  • Environment Created (environment.createEnvironment) — Fired when an environment is created.
  • Environment Approval Settings Updated (environment.updateApprovalSettings) — Fired when an environment’s approval requirements change.
  • Environment Updated (environment.*) — Fired on any other change to an environment, including renames and SDK key resets.
6

Context kind events

Changes to the context kinds defined in a project.

  • Context Kind Created (context-kind.createContextKind) — Fired when a context kind is created.
  • Context Kind Updated (context-kind.*) — Fired on any other change to a context kind.
7

Member, team and role events

Changes to account members, teams and custom roles.

  • Account Member Updated (member.*) — Fired when an account member is invited, changed or removed.
  • Team Created (team.createTeam) — Fired when a team is created.
  • Team Deleted (team.deleteTeam) — Fired when a team is deleted.
  • Team Updated (team.*) — Fired on any other change to a team, including its membership and roles.
  • Custom Role Created (role.createRole) — Fired when a custom role is created.
  • Custom Role Description Updated (role.updateDescription) — Fired when a custom role’s description is edited.
  • Custom Role Updated (role.*) — Fired on any other change to a custom role, including its policy and its deletion.
8

Account configuration events

Changes to access tokens, webhooks and integrations.

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

Everything else

Resource kinds without an event of their own, such as layers, holdouts, release
pipelines and code reference repositories. Each arrives under its own LaunchDarkly
resource name.

  • Other Change History Entry (*) — Fired for any resource kind without an event of its own.

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.