Get Hetzner server identifier from API
Author: enescakirCreated Jan 26, 2024Updated Aug 22, 2025
Labelsgood first issue
When setting up a VM Host with Hetzner, we manually enter the IP address and Hetzner server ID. The https://robot.hetzner.com/doc/webservice/en.html#get-server endpoint of the Hetzner webservice provides a list of all servers, allowing us to find the Hetzner identifier using the IP address.
Source: ubicloud/ubicloud