# Obtaining process flow & version IDs for API requests

## Introduction

When you send a Patchworks API request to initialise a process flow, you must provide the **internal IDs** for the required process flow and version. This guide walks through the steps required to obtain this information.

## The steps

**Step 1**\
Log in to the Patchworks dashboard.

**Step 2**\
Select **process flows** from the left-hand navigation menu and select the process flow that you want to update.

**Step 3**\
Check the title bar in the top-left corner and make a note of the number above the title - this is the `process flow ID`:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FnsnSUwu0Z8cYyX0aNSY0%2Fcheck%20flow%20id%200.png?alt=media&#x26;token=6eb31101-3354-4acd-b8d8-7ce526d6f29f" alt=""><figcaption></figcaption></figure>

**Step 4**\
Click the settings icon:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FVbVfwUFa8q0gZzfhZLUl%2Fcheck%20flow%20id%201.png?alt=media&#x26;token=7513cb1f-0636-4221-b909-f6ca776b5cd5" alt=""><figcaption></figcaption></figure></div>

&#x20;...to access process flow settings:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2F9MDSj7SK5xnBx04mQdUh%2Fcheck%20flow%20id%201a.png?alt=media&#x26;token=dfdff7c4-6161-4149-b737-15bcd8c98232" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 5**\
Look in the **versions** panel and find the version of this process flow that you want to initialise, then note the associated ID - this is the `process flow version ID`:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FC51EDalU4U9TwWURyyPm%2Fcheck%20flow%20id%203.png?alt=media&#x26;token=f9b5d142-089d-40ac-b37b-9ee51c28b8ec" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
For more information about process flow versioning please see our [Process flow versioning](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-versioning) page.&#x20;
{% endhint %}

**Step 6**\
You'll use this information [later ](https://doc.wearepatchworks.com/product-documentation/developer-hub/patchworks-core-api/core-api-spotlights/initialising-a-process-flow-and-sending-data-via-the-patchworks-api/the-steps/initialising-a-process-flow-and-sending-data)in any API requests made to initialise this process flow. &#x20;
