---
title: "Create a Project."
method: POST
path: "/projects"
tags: ["projects"]
---

# Create a Project.

`POST /projects`

## Request

- Base URL: `https://restivity.ai/api/v1`
- URL: `https://restivity.ai/api/v1/projects`
- Auth: OAuth 2 (authorization code, authorization URL `https://restivity.ai/oauth/authorize`, token URL `https://restivity.ai/api/oauth/token`, scopes: `projects:write`)

## Request body

- CreateProjectInput
  - `name` string, required
  - `description` string: A project `description` is plain text, at most 10,000 characters: marked text (`**bold**`, `- ` and `1. ` lists, `` `code` ``, links) or HTML is accepted and stored as its words — markers and tags removed, list items kept as `- ` / `1. ` lines — so a project card shows no asterisks, backticks or tags
  - `color` string
  - `is_archived` boolean
  - `team_id` string, uuid, nullable
  - `prefix` string, nullable: Project key (2–5 uppercase letters/digits, leading letter) — task codes become `KEY-1`, `KEY-2`… Optional: when omitted, the server derives a unique key from the name (e.g. "Launch Plan" → `LAU`, or `LAUN` when `LAU` is taken). Reserved keys are refused.

## Response `201`

The created Project.

- Project
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `name` string, required
  - `description` string, required
  - `color` string, required
  - `is_archived` boolean, required
  - `team_id` string, uuid, nullable, required
  - `prefix` string, nullable, required
  - `task_counter` integer, required
  - `created_at` string, required
  - `updated_at` string, required
  - `deleted_at` string, nullable, required
  - `url` string
  - `scope` string
  - `firestore_id` string, nullable
  - `team_name` string, nullable
  - `team_slug` string, nullable
  - `task_count` integer
  - `completed_task_count` integer
  - `overdue_task_count` integer
  - `next_due_date` string, nullable
  - `is_agent_inbox` boolean
  - `workspace_id` string, uuid, nullable
  - `workspace_short_id` string, nullable
  - `workspace_slug` string, nullable
  - `team_short_id` string, nullable

## Other responses

- `400`: Invalid request shape.
- `401`: Missing or invalid access token.
- `403`: Token lacks the required scope.
- `409`: `name_taken` — The scope already has a project of this name: its team for a team project, its workspace for a project in no team. Names are compared without case and without surrounding spaces; nothing was written. Rename, or use the existing project.
- `422`: Request body failed schema validation.
- `429`: Rate-limit exceeded for this tier.

---

[API](https://skmtc.dev/restivity/apis/restivity-rest-api.md) · [All operations](https://skmtc.dev/restivity/apis/restivity-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/restivity/apis/restivity-rest-api/revisions/5764e41ebb3a?raw)
