Skip to content
HelicarrierDevelopers

Create project

Create a project to organize related services and environments.

POST/api/projectsHTTPS
Request & response examples
Request exampleServer-side
curl --fail-with-body --request POST \
'https://app.helicarrier.xyz/api/projects' \
-H "Authorization: Bearer $HELI_API_KEY" \
-H 'Content-Type: application/json' \
--data '{
"name": "my-service"
}'
Response example201
{
"id": "prj_example",
"name": "My project",
"slug": "my-project",
"description": ""
}

Illustrative values · selected fields

Authorization

An account key with access to the resource. Project and service keys do not authorize this operation.

Authorization: Bearer <key>Key setup

Request body

namestringrequired

Project name.

descriptionstringoptional

Optional description.

Response 201

Returns the newly created project. Store its id and slug; subsequent project reads use the slug.

Examples show selected response fields with illustrative values. Your response can contain additional fields.

idstring

Unique identifier of this resource.

namestring

Human-readable resource name.

slugstring

URL-safe resource identifier.

descriptionstring

Description of the resource or capability.

Errors

400

Invalid parameters. Check the required fields, types, and resource configuration.

401

The API key is missing, invalid, or revoked.

403

The caller or key scope does not permit this operation.

409

The current resource state prevents the operation. Inspect it before retrying.

500

The operation could not be completed. Check resource state before retrying a write.

Error handling and safe retries
ALSO AVAILABLE VIA MCP

create_project

Required MCP arguments: name. Send path, query, and body fields together as tool arguments.

Connect your agent