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

# Create a project

`POST /companies/{company}/projects`

## Request

- Base URL: `https://api.factuarea.com/v1`
- URL: `https://api.factuarea.com/v1/companies/{company}/projects`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Create a task project with a `name`, a unique `key` (an uppercase letter followed by up to nine uppercase letters or digits, used in task keys such as `DEV-12`), an optional `icon` and `description`. The project is created with the default board columns. A `key` already used by another project of your company returns 409 `project_key_in_use`.

## Path parameters

- `company` string, uuid, required

## Headers

- `Idempotency-Key` string
- `Factuarea-Version` string, date

## Request body

- CreateProjectV1Request
  - `name` string, required: Project name (1-120 characters, no control characters).
  - `key` string, required: Project key (`DEV`): one letter followed by up to 9 letters or digits; it prefixes the keys of its tasks.
  - `icon` 'folder' | 'briefcase' | 'rocket' | 'code' | 'bug' | 'wrench' | 'hammer' | 'truck' | 'package' | 'shopping-cart' | 'calculator' | 'receipt' | 'file-text' | 'landmark' | 'users' | 'user' | 'building' | 'home' | 'calendar' | 'clock' | 'flag' | 'star' | 'heart' | 'lightbulb' | 'target' | 'trophy' | 'book' | 'graduation-cap' | 'megaphone' | 'palette' | 'camera' | 'music' | 'globe' | 'leaf' | 'coffee' | 'car' | 'plane' | 'shield' | 'zap' | 'layers' | 'null', nullable: Icon from the closed catalog; the default icon when omitted.
  - `description` string, nullable: Optional project description (up to 5,000 characters).

## Response `201`

Project created successfully. The `Location` header contains the canonical URL of the newly created project.

- object
  - `data` Project, required: A task project of your company: its board columns hold the tasks, and its key (`DEV`) prefixes their keys (`DEV-12`).
    - `id` string, uuid, required: UUID v7 of the project.
    - `object` 'project', required: Stripe-like discriminator. Always `project` for this resource.
    - `key` string, required: Project key, unique in your company. Prefixes the key of every task (`DEV-12`).
    - `name` string, required: Project name.
    - `icon` string, required: Icon of the project, from the task icon catalog.
    - `description` string, nullable, required: Free description of the project, or `null`.
    - `position` integer, required: Position of the project in the list shown in the app.
    - `is_archived` boolean, required: `true` when the project is archived (read-only, no new tasks).
    - `archived_at` string, date-time, nullable, required: When the project was archived, or `null`.
    - `billing_contact_id` string, uuid, nullable, required: UUID of the contact invoiced by default for the logged time, or `null`.
    - `billing_hourly_rate` string, nullable, required: Default hourly rate (decimal string, before taxes) used to invoice the logged time, or `null`.
    - `billing_product_id` string, uuid, nullable, required: UUID of the product used for the invoice lines of logged time, or `null`.
    - `stats` object, required: Task statistics of the project.
      - `total_tasks` integer, required: Tasks of the project, archived ones included.
      - `completed_tasks` integer, required: Completed tasks.
      - `completion_percentage` integer, required: Completed tasks over total, as a whole percentage.
      - `next_due_on` string, date, nullable, required: Earliest due date among the open tasks, or `null`.
    - `created_at` string, date-time, required: Creation timestamp.
    - `updated_at` string, date-time, required: Last update timestamp.

## Other responses

- `400`: `parameter_unknown` with `subcode` `retired_active_profile_header`: the retired `X-Active-Profile` header was sent; the company goes in the path. `parameter_invalid_format` on `Factuarea-Version`: the header is not a `YYYY-MM-DD` date. `unsupported_api_version`: the `Factuarea-Version` date is not a supported version.
- `401`: Missing or invalid API key.
- `403`: The request is authenticated but not allowed: the API key lacks the required scope (`insufficient_scope`), the plan does not include the public API or this feature (`addon_not_active`, `feature_not_available_in_plan`), or the module is not available with a test key (`module_not_available_in_sandbox`).
- `404`: The requested resource does not exist or belongs to another company. `profile_not_found`: the company in the path does not exist, is not in the API key scope or belongs to the other environment (live or test).
- `409`: The request conflicts with data that already exists or with a request running at the same time. `column_has_tasks`: the column still holds tasks. Move them to another column (`move_to_column_id`) before deleting it. `column_slug_in_use`: another column of the project already has that name (or one that produces the same identifier). Choose another name. `project_key_in_use`: another project of the company already uses that `key`. Choose another one. `resource_conflict`: another request was reserving identifiers for the same kind of record at that moment and this one could not complete its reservation. Nothing was written; send the request again after a few seconds.
- `422`: Validation failed. The `error.param` field identifies which input is invalid.
- `429`: Rate limit exceeded. Retry after the duration in `Retry-After`.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/factuarea/apis/factuarea-public-api.md) · [All operations](https://skmtc.dev/factuarea/apis/factuarea-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/factuarea/apis/factuarea-public-api/revisions/718e77934422?raw)
