cURL
curl --request GET \ --url https://app.coolify.io/api/v1/projects/{uuid}/{environment_name} \ --header 'Authorization: Bearer <token>'
{ "id": 123, "name": "<string>", "project_id": 123, "created_at": "<string>", "updated_at": "<string>", "description": "<string>" }
Get environment by name.
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Keys & Tokens
API tokens
Project UUID
Environment name
Project details
Environment model