Create​
POST
/projects
Create Project.
Authorizations​
bearerAuth
Go to Keys & Tokens
/ API tokens
and create a new token. Use the token as the bearer token.
TypeHTTP (bearer)
Request Body​
JSON
{
"name": "string",
"description": "string"
}
Responses​
Project created.
application/json
JSON
{
"uuid": "og888os"
}
POST
/projects
Playground​
Authorization
Body
JSON
Samples​
Bruno
POST https://app.coolify.io/api/v1/projects
Headers
authorization: Bearer Token
content-type: application/json
Body
{
"name": "string",
"description": "string"
}
cURL
curl https://app.coolify.io/api/v1/projects \
--request POST \
--header 'Authorization: Bearer Token' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"description": "string"
}'
JavaScript
fetch('https://app.coolify.io/api/v1/projects', {
method: 'POST',
headers: {
Authorization: 'Bearer Token',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'string',
description: 'string'
})
})
PHP
$ch = curl_init("https://app.coolify.io/api/v1/projects");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer Token', 'Content-Type: application/json']);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
'name' => 'string',
'description' => 'string'
]));
curl_exec($ch);
curl_close($ch);
Python
requests.post("https://app.coolify.io/api/v1/projects",
headers={
"Authorization": "Bearer Token",
"Content-Type": "application/json"
},
json={
"name": "string",
"description": "string"
}
)