---
title: "How to find IDs"
description: "\"This page describes how customers can find IDs of various CircleCI elements.\""
doc_version: "unversioned"
last_updated: "2026-06-03"
---

> For the complete documentation index, see [llms.txt](https://circleci.com/docs/llms.txt)

# How to find IDs

You may need to find the ID of specific CircleCI elements to perform various actions, including:

*   Making a request to the CircleCI API.
    
*   Running a command from the local CircleCI CLI.
    
*   Identifying a CircleCI element in logs or webhook payloads.
    

This guide covers finding IDs in the CircleCI web app, or from environment variables. It is also possible to find IDs via the [CircleCI APIs](https://circleci.com/docs/reference/api-homepage/).

## Get IDs from the built-in environment variables

[Built-In Environment Variables](https://circleci.com/docs/reference/variables/#built-in-environment-variables), scoped at the job level, include the following IDs:

*   `CIRCLE_ORGANIZATION_ID`: The organization ID.
    
*   `CIRCLE_PROJECT_ID`: The project ID.
    
*   `CIRCLE_PIPELINE_ID`: The pipeline ID.
    
*   `CIRCLE_WORKFLOW_ID`: The workflow ID.
    
*   `CIRCLE_WORKFLOW_JOB_ID`: The job ID.
    

To view all environment variables available at the job level, follow these steps:

1.  In the [CircleCI web app](https://app.circleci.com), select your org from the org cards on your user homepage.
    
2.  Select **Pipelines** from the sidebar and locate your pipeline from the list. You can use the project, branch, date, and status search options to help.
    
3.  Select the job you want to access by selecting the job name.
    
4.  On the job page, expand the **Preparing environment variables** step.
    
5.  Locate the relevant environment variable(s) and note the associated value(s).
    

> **Image:** IDs available from built-in environment variables

## Find your user ID

The user ID is a unique identifier for a user. Follow these steps to find it in the CircleCI web app:

1.  In the CircleCI application, go to your [User settings](https://app.circleci.com/settings/user).
    
2.  On the **Account Integrations** page, locate the **User ID** label.
    
3.  Note the value or select the **Copy** icon next to your user ID.
    

## Find an organization ID

The organization ID is a unique identifier for an organization.

You can access the organization ID through the `CIRCLE_ORGANIZATION_ID` [Built-In Environment Variable](#get-ids-from-the-built-in-environment-variables). Alternatively, follow these steps to find it in the CircleCI web app:

1.  In the [CircleCI web app](https://app.circleci.com), select your org from the org cards on your user homepage.
    
2.  Select **Org** from the sidebar to open your organization settings page.
    
3.  Select the **Copy** icon next to the organization ID to copy it to your clipboard.
    
    > **Image:** screenshot showing where to find your organization ID
    
    Figure 1. Organization ID available in organization settings
    

## Find a project ID

The project ID is a unique identifier for a project.

You can access the project ID through the `CIRCLE_PROJECT_ID` [Built-In Environment Variable](#get-ids-from-the-built-in-environment-variables). Alternatively, follow these steps to find it in the CircleCI web app:

1.  In the [CircleCI web app](https://app.circleci.com), select your org from the org cards on your user homepage.
    
2.  Select **Projects** from the sidebar and locate your project from the list. You can use the search to help.
    
3.  Select the ellipsis next to your project and select **Project Settings**.
    
    You can also access project settings from each project overview page using the **Settings** button.
    
4.  Select the **Copy** icon next to the project ID to copy it to your clipboard.
    
    > **Image:** screenshot showing where to find your project ID
    
    Figure 2. Project ID available in project settings overview
    

## Find a pipeline ID

The pipeline ID is a unique identifier for a pipeline that has been triggered.

You can access the pipeline ID through the `CIRCLE_PIPELINE_ID` [Built-In Environment Variable](#get-ids-from-the-built-in-environment-variables). Alternatively, follow these steps to find it in the CircleCI web app:

<Tabs>
<Tab title="From the pipelines dashboard">

1.  In the [CircleCI web app](https://app.circleci.com), select your org from the org cards on your user homepage.
    
2.  Select **Projects** from the sidebar and locate your project from the list. You can use the search to help.
    
3.  Select the **Pipelines** next to your project.
    
4.  Select the ellipsis next to any workflow run of the pipeline.
    
5.  In the contextual menu, select **Copy Pipeline ID**.
    

> **Image:** Copy pipeline ID from pipelines dashboard

Figure 3. Copy pipeline ID from pipelines dashboard

</Tab>
<Tab title="From the workflow page">

1.  In the [CircleCI web app](https://app.circleci.com), select your org from the org cards on your user homepage.
    
2.  Select **Projects** from the sidebar and locate your project from the list. You can use the search to help.
    
3.  Select the **Pipelines** next to your project.
    
4.  Select any workflow run of the pipeline you want to find the ID for.
    
5.  On the workflow page, select the ellipsis at the top-right of the page (next to the **Rerun** button).
    
6.  In the contextual menu, select **Copy Pipeline ID**.
    

> **Image:** Copy pipeline ID from workflow page

Figure 4. Copy pipeline ID from workflow page

</Tab>
<Tab title="From the job page">

1.  In the [CircleCI web app](https://app.circleci.com), select your org from the org cards on your user homepage.
    
2.  Select **Projects** from the sidebar and locate your project from the list. You can use the search to help.
    
3.  Select the **Pipelines** next to your project.
    
4.  Select any workflow run from the pipeline you want to find the ID for.
    
5.  Select any job from that workflow run.
    
6.  On the job page, select the ellipsis at the top-right of the page (next to the **Rerun** button).
    
7.  In the contextual menu, select **Copy Pipeline ID**.
    

> **Image:** Copy pipeline ID from job page

Figure 5. Copy pipeline ID from job page

</Tab>
</Tabs>

## Find a workflow ID

The workflow ID is a unique identifier for a workflow that has been triggered.

You can access the workflow ID through the `CIRCLE_WORKFLOW_ID` [Built-In Environment Variable](#get-ids-from-the-built-in-environment-variables). Alternatively, follow these steps to find it in the CircleCI web app:

<Tabs>
<Tab title="From the workflow URL">

1.  In the [CircleCI web app](https://app.circleci.com), select your org from the org cards on your user homepage.
    
2.  Select **Projects** from the sidebar and locate your project from the list. You can use the search to help.
    
3.  Select the **Pipelines** next to your project.
    
4.  Select the workflow run you want to find the ID for.
    
5.  Check the URL of the page. The workflow ID is the last alphanumeric string of the URL, after the `/workflows/` string.
    

> **Image:** Get workflow ID from workflow page URL

Figure 6. Workflow ID in workflow page URL

</Tab>
<Tab title="From the job URL">

1.  In the [CircleCI web app](https://app.circleci.com), select your org from the org cards on your user homepage.
    
2.  Select **Projects** from the sidebar and locate your project from the list. You can use the search to help.
    
3.  Select the **Pipelines** next to your project.
    
4.  Select the workflow run you want to find the ID for.
    
5.  Select any job from that workflow run.
    
6.  Check the URL of the page. The workflow ID is the alphanumeric string of the URL located between the `/workflows/` and the `/jobs/` strings.
    

> **Image:** Get workflow ID from job page URL

Figure 7. Workflow ID in job page URL

</Tab>
</Tabs>

## Find a pipeline definition ID

The pipeline definition ID is a unique identifier for a pipeline definition. Follow these steps to find it in the CircleCI web app:

1.  In the [CircleCI web app](https://app.circleci.com), select your org from the org cards on your user homepage.
    
2.  Select **Projects** from the sidebar and locate your project from the list. You can use the search to help.
    
3.  Select the ellipsis next to your project and select **Project Settings**.
    
    You can also access project settings from each project overview page using the **Settings** button.
    
4.  Select **Project Setup** from the menu, or if you are using Bitbucket Cloud, select **Pipelines** from the menu.
    
5.  Locate the pipeline you want to find the definition ID for.
    
6.  Select the **Copy** icon next to the pipeline definition ID to copy it to your clipboard. If you are using Bitbucket Cloud, the user interface is different to the one shown in the image.
    
    > **Image:** Get pipeline definition ID
    
    Figure 8. Pipeline definition ID on the Project Setup page