> For the complete documentation index, see [llms.txt](https://docs.we360.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.we360.ai/deployment-and-it-ops/integrations-and-api-access/integrations/oauth-for-direct-api-access/project-suite/create-project-api.md).

# Create Project API

Create a project from an external job or case.

Create one project per external job or case.

{% hint style="warning" %}
This route maps to an internal API. Confirm its external gateway path, OAuth scopes, and rate limits before client use.
{% endhint %}

### Endpoint

```http
POST https://api.in.we360.ai/api/v1/projects/
```

### Request body

```json
{
  "name": "Case 4821 — Acme Litigation",
  "color": "#4F46E5",
  "status": "ACTIVE",
  "currency": "USD",
  "billing_type": "BILLABLE",
  "cost_config": {
    "billable_rate": 150,
    "cost_rate": 90
  },
  "start_date": "2026-04-01",
  "end_date": "2026-09-30",
  "external_ref": "CASE-4821"
}
```

| Parameter                | Required | Description                                                |
| ------------------------ | -------- | ---------------------------------------------------------- |
| `name`                   | Yes      | Project name.                                              |
| `status`                 | Yes      | Lifecycle status, such as `ACTIVE` or `ARCHIVED`.          |
| `color`                  | No       | Display color in hex.                                      |
| `currency`               | No       | ISO currency code. Defaults to the organization currency.  |
| `billing_type`           | No       | Billing model, such as `BILLABLE` or `NON_BILLABLE`.       |
| `cost_config`            | No       | Default `billable_rate` and `cost_rate`.                   |
| `start_date`, `end_date` | No       | Project window as ISO dates.                               |
| `external_ref`           | No       | External job or case ID for correlation and deduplication. |

### Response

Returns `201 Created`.

```json
{
  "id": "a1b2c3d4-1111-2222-3333-444455556666",
  "name": "Case 4821 — Acme Litigation",
  "status": "ACTIVE",
  "currency": "USD",
  "external_ref": "CASE-4821",
  "created_date": "2026-04-01T09:12:00"
}
```

### Example

```bash
curl -X POST "https://api.in.we360.ai/api/v1/projects/" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ${access_token}" \
  -d '{"name":"Case 4821 — Acme Litigation","status":"ACTIVE","currency":"USD","external_ref":"CASE-4821"}'
```

Store the returned `id` against the originating case. Search by `external_ref` before re-syncing to prevent duplicates.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.we360.ai/deployment-and-it-ops/integrations-and-api-access/integrations/oauth-for-direct-api-access/project-suite/create-project-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
