Skip to content

Get a web hosting package

GET /hosting/packages/{id}

Operation ID: GetHostingPackage

NameTypeRequiredDescription
idstringyesPackage id (the id field of a hosting package).
StatusTypeDescription
200hostingPackageHosting package
401ErrorUnauthorized
404ErrorPackage not found
500ErrorUnexpected error
FieldTypeRequiredDescription
successbooleanyesSuccess indicator
codeintegernoResponse/Error Code
responsehostingPackageno-
Terminal window
curl -X GET "https://api.regfish.com/hosting/packages/<id>" \
-H "x-api-key: $REGFISH_API_KEY"

Fill in values - the call below updates as you type. Nothing is sent: the API does not currently allow browser requests from this domain (CORS). The API key is not stored.