Chief Tools Logo
Server Chief API v1

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.

Search sites › query Parameters

domain
​string | null · maxLength: 255

Only return sites serving this domain, by name or alias. A host also matches wildcard aliases covering it, and *.example.com matches every subdomain.

per_page
​integer · min: 1 · max: 100
page
​integer · min: 1
cert_expiring_days
​integer | null · min: 0 · max: 3650

Only 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