---
title: "Create a project"
method: POST
path: "/projects"
tags: ["Projects"]
---

# Create a project

`POST /projects`

## Request

- Base URL: `https://api.phare.io`
- URL: `https://api.phare.io/projects`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/phare/apis/phare/docs/projects/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a project. Requires an organization-scoped API key.

Requires the `projects:write` permission.

## Request body

- object
  - `name` string, required: Project name
  - `members` integer[], required: List of team members that are part of this project
  - `settings` object: Project settings
    - `use_incident_ai` boolean: Whether to generate AI summaries for incidents
    - `use_incident_merging` boolean: Whether to use incident merging
    - `incident_merging_time_window` 5 | 10 | 30 | 60 | 120 | 180: Time window for incident merging in minutes

## Response `201`

Success, project created

- object
  - `id` integer: Project ID
  - `slug` string: Project slug
  - `name` string, required: Project name
  - `members` integer[], required: List of team members that are part of this project
  - `settings` object: Project settings
    - `use_incident_ai` boolean: Whether to generate AI summaries for incidents
    - `use_incident_merging` boolean: Whether to use incident merging
    - `incident_merging_time_window` 5 | 10 | 30 | 60 | 120 | 180: Time window for incident merging in minutes
  - `created_at` string, date-time: Date of creation for the entity
  - `updated_at` string, date-time: Date of last update for the entity

## Other responses

- `401`: Error, access unauthorized
- `403`: Error, access forbidden
- `422`: Error, unprocessable entity

## Changes

- **2026-11-07** `7df8c52f3597`: 1 info
  - the endpoint scheme security `BearerAuth` was added to the API
- **2026-10-13** `b6c9a3f98257`: 4 breaking, 1 warning
  - the request property `settings/incident_merging_time_window` became not nullable
  - the request property `settings/use_incident_ai` became not nullable
  - the request property `settings/use_incident_merging` became not nullable
  - the `name` request property's minLength was increased from `0` to `1`
  - …1 more

[Operation history](https://skmtc.dev/phare/apis/phare/changes/projects/post.md)

---

[API](https://skmtc.dev/phare/apis/phare.md) - [All operations](https://skmtc.dev/phare/apis/phare/llms.txt) - [OpenAPI document](https://skmtc.dev/phare/apis/phare/revisions/7df8c52f3597?raw)
