Server Chief API v1
string | null · maxLength: 255integer · min: 1 · max: 100integer · min: 1integer | null · min: 0 · max: 3650
Sites
Endpoints for finding sites (virtual hosts) and their certificates across the team's servers.
Search sites
GET
https://server.chief.app/api/v1
/vhosts
OpenID Connect
or
Bearer (ctp_*)
or
Bearer (ctt_*)
Find sites across the servers the authenticated team can see, including servers shared with it: which servers host a domain, or which certificates expire soon. Every result includes its server.
query Parameters
domainOnly return sites serving this domain, by name or alias. A host also matches wildcard aliases covering it, and *.example.com matches every subdomain.
per_pagepagecert_expiring_daysOnly return sites whose certificate expires within this many days, including certificates that already expired, sorted by expiry with the soonest first.
Search sites › Responses
Paginated set of ServerVhost
object[] · required
object · required
object · required