Skip to content

Create a project in an organization

POST
/organizations/{org_id}/projects
curl --request POST \
--url https://api.perstat.io/organizations/example/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'

Creates a project with the given name; a URL slug is derived server-side from the name. Requires project management rights. A name that normalizes to an empty slug is rejected with 400, a slug collision with 409.

org_id
required
string
Media typeapplication/json
object
name
required
string
Examplegenerated
{
"name": "example"
}
Media typeapplication/json
object
id
required
string
name
required
string
organization_id
required
string
slug
required
string
Examplegenerated
{
"id": "example",
"name": "example",
"organization_id": "example",
"slug": "example"
}

Role may not manage projects