cURL
curl --request GET \ --url https://app.coolify.io/api/v1/projects \ --header 'Authorization: Bearer <token>'
[ { "id": 123, "uuid": "<string>", "name": "<string>", "environments": [ { "id": 123, "name": "<string>", "project_id": 123, "created_at": "<string>", "updated_at": "<string>", "description": "<string>" } ] } ]
list projects.
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Keys & Tokens
API tokens
Get all projects.
The response is of type object[].
object[]