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

# OpenProject

> OpenProject method in the ABBYY FlexiCapture Web Services API opens a project by name or GUID for further work and returns the ID of the opened project.

## What it does

Opens a project for further work.

<Note>
  An opened project cannot be deleted. To delete the project, first close it using the [CloseProject](/flexi-capture/api/methods/close-project) method.
</Note>

## Definition

```
int OpenProject( int sessionId, string projectNameOrGuid );
```

## Parameters

| **Name**          | **Type** | **Description**                                    |
| ----------------- | -------- | -------------------------------------------------- |
| sessionId         | int      | The ID of the connection to the Application Server |
| projectNameOrGuid | string   | The name or GUID of the project to be opened       |

## Returned value

| **Type** | **Description**              |
| -------- | ---------------------------- |
| int      | The ID of the opened project |
