cURL
curl --request GET \ --url https://app.coolify.io/api/v1/servers \ --header 'Authorization: Bearer <token>'
[ { "id": 123, "uuid": "<string>", "name": "<string>", "description": "<string>", "ip": "<string>", "user": "<string>", "port": 123, "proxy": {}, "high_disk_usage_notification_sent": true, "unreachable_notification_sent": true, "unreachable_count": 123, "validation_logs": "<string>", "log_drain_notification_sent": true, "swarm_cluster": "<string>" } ]
List all servers.
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Keys & Tokens
API tokens
Get all servers.
The response is of type object[].
object[]