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

# Create a project

`POST /projects`

## Request

- Base URL: `https://public.escape.tech/v3`
- URL: `https://public.escape.tech/v3/projects`
- Auth: API key in header `X-ESCAPE-API-KEY`

Create a project for the organization.

## Request body

- object
  - `name` string, required: The name of the project
  - `slug` string, required: The slug of the project
  - `bindings` object[], required: An optional list of role bindings to create for the project
    - `roleId` string, required: The role ID
    - `userId` string, required: The user ID

## Response `200`

OK

- object
  - `id` string, uuid, required: The id of the project
  - `name` string, required: The name of the project
  - `slug` string, required: The slug of the project
  - `createdAt` string, date-time, required: The date and time the project was created
  - `bindings` object[], required: The bindings of the project
    - `id` string, uuid, required: The id of the role binding
    - `createdAt` string, date-time, required: The date and time the role binding was created
    - `role` object, required
      - `id` string, uuid, required: The id of the role
      - `name` string, required: The name of the role
      - `createdAt` string, date-time, required: The date and time the role was created
    - `project` object, required
      - `id` string, uuid, required: The id of the project
      - `name` string, required: The name of the project
      - `createdAt` string, date-time, required: The date and time the project was created
    - `user` object, required
      - `id` string, uuid, required: The id of the user
      - `email` string, email, required: The email of the user
      - `createdAt` string, date-time, required: The date and time the user was created
      - `activatedAt` string, date-time, nullable, required: The date and time the user was activated

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/escape/apis/escape-public-api.md) - [All operations](https://skmtc.dev/escape/apis/escape-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/escape/apis/escape-public-api/revisions/2eab35df40c7?raw)
