> ## 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.

# CircleCI Webhook Setup Guide

> Configure CircleCI to deliver events to StackOne.

## Prerequisites

The connector should already be set up, with a Connector Profile and a Linked Account. See [Getting Started](https://docs.stackone.com/connectors/circleci.md#getting-started) on the CircleCI connector page.

## Find your Project ID in CircleCI

CircleCI scopes every webhook to one project, so StackOne needs that project's ID before it can create the subscription. It takes four clicks to find.

**1. Open your organization**

Sign in to [CircleCI](https://app.circleci.com) and select your organization on the **Organizations** page.

![The CircleCI home page listing organizations](https://mintcdn.com/stackone-60/03bB1klfBCOVqNCb/connectors/circleci/images/events-open-organization.png?fit=max\&auto=format\&n=03bB1klfBCOVqNCb\&q=85\&s=f9e9aededffeef2799b4b3e3e0ca7c0f)

**2. Open the project actions menu**

Open **Projects** in the left sidebar, find the project in the list, and select the actions button at the end of its row.

![The projects list with the project actions button for a project](https://mintcdn.com/stackone-60/03bB1klfBCOVqNCb/connectors/circleci/images/events-project-actions.png?fit=max\&auto=format\&n=03bB1klfBCOVqNCb\&q=85\&s=793b635d8932c0dbe18d9fe6f0731b61)

**3. Select Project Settings**

Choose **Project Settings** from the menu.

![The project actions menu with Project Settings](https://mintcdn.com/stackone-60/03bB1klfBCOVqNCb/connectors/circleci/images/events-project-settings.png?fit=max\&auto=format\&n=03bB1klfBCOVqNCb\&q=85\&s=a55a143e089992b2413aaf1422eecbcb)

**4. Copy the Project ID**

The **Overview** tab opens by default. Select the copy icon beside **Project ID**, then paste the value into **Project ID** on the StackOne connection.

<ul>
  <li>The value is a UUID — 32 hexadecimal characters in five dash-separated groups.</li>
  <li>**Project slug** is shown directly below it. That is a different value, and it is not what StackOne needs here.</li>
</ul>

![The Overview tab showing the Project ID field and its copy icon](https://mintcdn.com/stackone-60/03bB1klfBCOVqNCb/connectors/circleci/images/events-project-id.png?fit=max\&auto=format\&n=03bB1klfBCOVqNCb\&q=85\&s=a44a3470ee9722b29e567b5ac266acc6)

## Set a webhook signing secret

The signing secret is not something you look up in CircleCI — you choose it. CircleCI stores whatever you provide and uses it to sign every webhook it sends, so your receiver can confirm the request really came from CircleCI.

**1. Choose a value and enter it on the connection**

Generate a long random string and enter it as **Webhook Signing Secret** on the StackOne connection. Any strong random value works — there is no format CircleCI requires.

<ul>
  <li>Keep a copy if you intend to verify signatures yourself. CircleCI never shows the secret again once it is stored.</li>
  <li>CircleCI signs each delivery with it and sends the result in the `circleci-signature` header.</li>
  <li>Treat it like a password — anyone holding it can forge requests that look genuine.</li>
</ul>

## Let StackOne create the webhook

Once the Project ID and signing secret are set, no further configuration is needed in CircleCI. StackOne creates the webhook when the account is connected and deletes it when the connection is removed.

**1. Check the webhook was created**

Open **Project Settings** > **Webhooks**. A webhook named **StackOne** appears in the list, subscribed to **Job Completed** and **Workflow Completed**. Leave it alone — StackOne manages its whole lifecycle, and deleting it by hand stops events reaching StackOne.

<ul>
  <li>The address StackOne registered is shown read-only as **Native Webhook URL** on the linked account, which is useful when checking a delivery or raising a support request.</li>
</ul>

![The Webhooks tab listing the StackOne webhook with its subscribed events](https://mintcdn.com/stackone-60/03bB1klfBCOVqNCb/connectors/circleci/images/events-webhook-created.png?fit=max\&auto=format\&n=03bB1klfBCOVqNCb\&q=85\&s=2f25c3d28327d20ab6b8e4c3a6df68e2)

## Available webhook events

The following CircleCI events are delivered. Only events selected in StackOne are included in the subscription — CircleCI sends nothing for events that are not subscribed.

**1. Enable pipeline execution events**

Both events fire on completion, not when work starts.

<ul>
  <li>**Workflow Completed** (`workflow-completed`) — Fired when a workflow finishes. Carries the workflow outcome along with the pipeline, project and organization it belongs to.</li>
  <li>**Job Completed** (`job-completed`) — Fired when an individual job finishes. Carries the job outcome along with its workflow, pipeline, project and organization.</li>
</ul>

## 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.