> Markdown version of https://tuna.am/en/docs/api/secrets-project-add/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Create a secrets project

post`/v1/secrets/projects`

Available to team admins. Default environments are created in the project automatically (see `/v1/secrets/default_environments`). The number of projects is limited by the team limit.

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Request body

application/json

* **description**string

  Description

  **Example:&#x20;**`Payment processing service`

  **name**stringrequired

  Name

  **Example:&#x20;**`Payments`

  **slug**string

  Alias; generated from the name by default

  **Example:&#x20;**`payments`

### Response

201

application/json

* **access_level**string

  Current user's access level to the project

  **Possible values:** \[`none`, `viewer`, `editor`, `admin`]

  **Example:&#x20;**`editor`

  **configs**integer\<int64>

  Number of configs

  **Example:&#x20;**`3`

  **created_at**string\<date-time>

  Creation date

  **description**string

  Description

  **Example:&#x20;**`Payment processing service`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`101`

  **name**string

  Name

  **Example:&#x20;**`Payments`

  **owner** object

  **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://www.gravatar.com/avatar/00000000000000000000000000000000`

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`42`

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  **pinned**boolean

  The project is pinned by the current user

  **secrets**integer\<int64>

  Number of secrets

  **Example:&#x20;**`24`

  **slug**string

  Alias

  **Example:&#x20;**`payments`

  **updated_at**string\<date-time>

  Update date
