Get a web hosting package
Authentication
Parameters
Request example
curl --request GET \
--url 'https://api.regfish.com/hosting/packages/example' \
--header 'x-api-key: YOUR_API_KEY'Responses
{
"success": true,
"code": 0,
"response": {
"id": "example",
"webhost_id": 1,
"plan": "example",
"status": "example",
"active": true
}
}{
"success": false,
"message": "Unauthorized",
"error": "Unauthorized"
}{
"success": false,
"message": "Package not found",
"error": "Package not found"
}{
"success": false,
"message": "Unexpected error",
"error": "Unexpected error"
}Become part of the community
The regfish DNS API is a great solution for developers who want to automate domains and DNS zones. Become part of the community and benefit from DNS automation. The DNS API is available free of charge to every regfish customer.