Skip to main content
GET
/
hubs
List hubs
curl --request GET \
  --url https://api.autoprintfarm.com/public/v1/hubs \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "firmware_version": "<string>",
      "hardware_version": "<string>",
      "is_online": true,
      "last_seen_at": "<string>",
      "printer_count": 123,
      "claimed_at": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.

Response

Hub list

success
enum<boolean>
required
Available options:
true
data
object[]
required