Skip to main content
POST
/
{slug}
/
projects
Create a new project
curl --request POST \
  --url https://api.dimred.com/api/v2/{slug}/projects \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "project_name": "<string>",
  "project_description": "<string>",
  "project_type": "DEVELOPMENT",
  "is_pinned": false
}'
{
  "project_id": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

slug
string
required

Organization slug

Body

application/json
project_name
string
required

Name of the project

project_description
string

Optional description of the project

project_type
enum<string>
default:DEVELOPMENT

Type of the project

Available options:
DEVELOPMENT,
PRODUCTION,
TESTING
is_pinned
boolean
default:false

Whether the project is pinned

Response

201 - application/json

Project created successfully

project_id
string
I