cURL
curl --request GET \ --url https://app.coolify.io/api/v1/servers/{uuid} \ --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>" }
Get server by UUID.
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Keys & Tokens
API tokens
Server's Uuid
Get server by UUID
Server model