{"id":7029,"date":"2018-01-08T09:22:01","date_gmt":"2018-01-08T08:22:01","guid":{"rendered":"https:\/\/www.combell.com\/en\/blog\/?p=7029"},"modified":"2021-06-21T17:14:48","modified_gmt":"2021-06-21T15:14:48","slug":"automate-your-reseller-hosting-using-our-new-api","status":"publish","type":"post","link":"https:\/\/www.combell.com\/en\/blog\/automate-your-reseller-hosting-using-our-new-api\/","title":{"rendered":"Automate your Reseller Hosting using our new API"},"content":{"rendered":"<p class=\"p3\"><span class=\"s1\">Thanks to Combell\u2019s API for Reseller Hosting, you can manage the features of your hosting packages at Combell directly from your own programming code or tools. But how exactly does it work?<\/span><\/p>\n<h2 class=\"p4\"><span class=\"s1\">What is Combell\u2019s API for Reseller Hosting?<\/span><\/h2>\n<p class=\"p3\"><span class=\"s1\">As a reseller of Combell services, you can manage all your products in our <a href=\"http:\/\/my.combell.com\" target=\"_blank\" rel=\"noopener\"><span class=\"s2\">My Combell<\/span><\/a> control panel. There, you can create new accounts and adjust settings (DNS records for domain names, extra options for the versions of PHP and countless other minor or major details).<\/span><\/p>\n<p class=\"p5\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7034\" src=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/New-Combell-API.jpg\" alt=\"New Combell API\" width=\"820\" height=\"290\" srcset=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/New-Combell-API.jpg 820w, https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/New-Combell-API-300x106.jpg 300w, https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/New-Combell-API-768x272.jpg 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/p>\n<p class=\"p3\"><span class=\"s1\">For resellers who want to fully automate this process instead of managing the settings manually via My Combell, Combell provides an API (<b>Application Program Interface<\/b>) that can be integrated with the customer\u2019s own CRM tool or any other kind of provisioning tool.<\/span><\/p>\n<p class=\"p3\"><span class=\"s1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-7033\" src=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Continuous-integration-and-continuous-deployment.png\" alt=\"Continuous integration and continuous deployment\" width=\"250\" height=\"250\" srcset=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Continuous-integration-and-continuous-deployment.png 300w, https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Continuous-integration-and-continuous-deployment-50x50.png 50w, https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Continuous-integration-and-continuous-deployment-60x60.png 60w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/>Together with Combell\u2019s AutoGit feature, <a href=\"https:\/\/www.combell.com\/en\/blog\/autogit-free-automatic-deployment-for-combell-customers\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"s2\">which we discussed in a previous post<\/span><\/a>, the API plays an essential part in the <b>\u201c<i>continuous integration, continuous deployment<\/i>\u201d<\/b> process. The API allows you to create a hosting environment from your own tools, and AutoGit allows you to deploy your code in a secure and efficient manner. You are never really done working on a website or a web service \u2013 you constantly need to fix and improve them. This is why Combell offers these tools to customers with Reseller Hosting, so that you can keep optimising your websites without any difficulty.<\/span><\/p>\n<blockquote>\n<p class=\"p3\"><span class=\"s1\">The API allows you to create a hosting environment from your own tools, and AutoGit allows you to deploy your code in a secure and efficient manner.<\/span><\/p>\n<\/blockquote>\n<h2 class=\"p4\"><span class=\"s1\">A practical example<\/span><\/h2>\n<p class=\"p3\"><span class=\"s1\">A Reseller just created a new customer, with his new website bakerjack.be, who wants to upload his website. Instead of logging in manually to the My Combell control panel, the Reseller can (often only once) write programming code, in which he automatically creates the end customer\u2019s account, registers the domain name, creates the mailboxes and adjusts all the settings. This way, the website is created while his code is uploaded. Pretty handy, right?<\/span><\/p>\n<p class=\"p3\"><span class=\"s1\"><b>Creating an account:<\/b><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7030\" src=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Create-an-account-with-the-new-Combell-API.png\" alt=\"Create an account with the new Combell API\" width=\"581\" height=\"132\" srcset=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Create-an-account-with-the-new-Combell-API.png 581w, https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Create-an-account-with-the-new-Combell-API-300x68.png 300w\" sizes=\"(max-width: 581px) 100vw, 581px\" \/><\/p>\n<p class=\"p3\"><span class=\"s1\"><b>Registering a domain name:<\/b><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7031\" src=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Registering-a-domain-name-with-the-Combell-API.png\" alt=\"Registering a domain name with the Combell API\" width=\"574\" height=\"172\" srcset=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Registering-a-domain-name-with-the-Combell-API.png 574w, https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Registering-a-domain-name-with-the-Combell-API-300x90.png 300w\" sizes=\"(max-width: 574px) 100vw, 574px\" \/><\/p>\n<p class=\"p3\"><span class=\"s1\"><b>Creating a mailbox:<\/b><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7032\" src=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Creating-a-mailbox-with-the-Combell-API.png\" alt=\"Creating a mailbox with the Combell API\" width=\"579\" height=\"155\" srcset=\"https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Creating-a-mailbox-with-the-Combell-API.png 579w, https:\/\/www.combell.com\/en\/blog\/files\/2018\/01\/Creating-a-mailbox-with-the-Combell-API-300x80.png 300w\" sizes=\"(max-width: 579px) 100vw, 579px\" \/><\/p>\n<p class=\"p6\" style=\"text-align: center;\"><span class=\"s3\"><a class=\"cta_button\" href=\"https:\/\/api.combell.com\/v2\/documentation\" target=\"_blank\" rel=\"noopener\">Find out more about Combell\u2019s API<\/a><\/span><\/p>\n<h2 class=\"p4\"><span class=\"s1\"><b>What can you do with the API?<\/b><\/span><\/h2>\n<p class=\"p3\"><span class=\"s1\">However, the API goes much further than that\u2026 Actually, you can have almost everything you do manually in the Combell control panel executed via the API from your programming code. Not everything is possible (yet), but Combell intends to further develop the API with extra features depending on the requests of our Resellers.<\/span><\/p>\n<p class=\"p3\"><span class=\"s1\">A quick overview of the methods that are currently available:<\/span><\/p>\n<ul class=\"ul1\">\n<li class=\"li3\"><span class=\"s1\"><b>General:<\/b><\/span>\n<ul class=\"ul1\">\n<li class=\"li3\"><span class=\"s1\">Request a list of all accounts<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Create an account<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Check the details of specific hosting accounts<\/span><\/li>\n<\/ul>\n<\/li>\n<li class=\"li3\"><span class=\"s1\"><b>Hosting details:<\/b><\/span>\n<ul class=\"ul1\">\n<li class=\"li3\"><span class=\"s1\">Create mailboxes<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Create a MySQL database<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Add an SSH key<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Manage the access to SSH<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Select PHP version<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Adjust site settings (e.g. gzip compression enabled or disabled)<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Add a subsite<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Manage SSL (Let's Encrypt)<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Manage automatic redirection from http to https<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Request a hosting quota<\/span><\/li>\n<\/ul>\n<\/li>\n<li class=\"li3\"><span class=\"s1\"><b>DNS details:<\/b><\/span>\n<ul class=\"ul1\">\n<li class=\"li3\"><span class=\"s1\">Create and manage A, CNAME and MX records<\/span><\/li>\n<\/ul>\n<\/li>\n<li class=\"li3\"><span class=\"s1\"><b>Domains:<\/b><\/span>\n<ul class=\"ul1\">\n<li class=\"li3\"><span class=\"s1\">Request a list of all the domains<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Check individual details per domain<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Register a domain<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Transfer a domain<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">Update name servers<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 class=\"p4\"><span class=\"s1\"><b>Some ideas to integrate the API with the software<\/b><\/span><\/h2>\n<ul class=\"ul1\">\n<li class=\"li3\"><span class=\"s1\">Request an overview of all the accounts you currently own and check when the domain names expire, so that you can notify the owner of the domain in time.<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">List all Linux hosting packages and request details about the webspace used combined with the maximum reserves space. When the customer is about to reach the quota, contact him proactively and recommend him a possible upgrade or give him advice on the space he could free up.<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">If you create your own control panel for your customers, which includes the hosting of the website, you can integrate details about the customer\u2019s hosting package in it.<\/span><\/li>\n<li class=\"li3\"><span class=\"s1\">When listing the active hosting packages, you can write a control to check if all your hosting packages have been invoiced to your end customer.<\/span><\/li>\n<\/ul>\n<h2 class=\"p4\"><span class=\"s1\"><b>The main benefits<\/b><\/span><\/h2>\n<p><div class=\"su-list\" style=\"margin-left:0px\"><\/p>\n<ul class=\"ul1\">\n<li><i class=\"sui sui-check\" style=\"color:#25cd4e\"><\/i> <b>You can work faster and more efficiently<\/b>\u00a0thanks to the automation from your own programming code. As a result, you can spend more time working on the actual development of the website.<\/li>\n<li><i class=\"sui sui-check\" style=\"color:#25cd4e\"><\/i> During the deployment of your code,<b> you automatically prepare the environment<\/b> to which you deploy your code.<\/li>\n<li><i class=\"sui sui-check\" style=\"color:#25cd4e\"><\/i> <b>You reduce error rates<\/b>, because everything happens automatically. With manual operations, you can always forget something of make a mistake.<\/li>\n<li><i class=\"sui sui-check\" style=\"color:#25cd4e\"><\/i> By using different <b>tokens<\/b> for different developers, you can request with which token a specific action was performed at any time. If you are having a security issue, this will help you sort things out faster.\u00a0<\/div><\/li>\n<\/ul>\n<h2 class=\"p4\"><span class=\"s1\"><b>For whom is this API intended?<\/b><\/span><\/h2>\n<p class=\"p3\"><span class=\"s1\">Our API is obviously intended for Combell Resellers, since they have to manage many accounts. But, in principle, <b>any Combell customer who purchased Reseller Hosting <\/b>and works with his own programming code can use the API to manage his settings in a fast and efficient manner, with very little room for error.<\/span><\/p>\n<p class=\"p3\"><span class=\"s1\">Do you want to get started? Below, you will find a list of all the features, as well as detailed documentation:<\/span><\/p>\n<p class=\"p6\" style=\"text-align: center;\"><span class=\"s3\"><a class=\"cta_button\" href=\"https:\/\/api.combell.com\/v2\/documentation\" target=\"_blank\" rel=\"noopener\">Find out more about Combell\u2019s API<\/a><\/span><\/p>\n<blockquote>\n<p class=\"p3\"><span class=\"s1\">When you access the API from your own programming code to manage your accounts and settings, you can work faster and more efficiently, in addition to making fewer errors.<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to Combell\u2019s API for Reseller Hosting, you can manage the features of your hosting packages at Combell directly from your own programming code or tools. But how exactly does...<\/p>\n","protected":false},"author":1,"featured_media":8644,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[66,67],"tags":[583],"acf":[],"uagb_featured_image_src":{"full":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API.jpg",1200,420,false],"thumbnail":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-50x50.jpg",50,50,true],"medium":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-300x105.jpg",300,105,true],"medium_large":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-768x269.jpg",768,269,true],"large":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-1024x358.jpg",1024,358,true],"1536x1536":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API.jpg",1200,420,false],"2048x2048":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API.jpg",1200,420,false],"post-featured":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-850x290.jpg",850,290,true],"post-featured-opt":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-750x256.jpg",750,256,true],"post-featured-opt-md":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-850x290.jpg",850,290,true],"post-featured-opt-sm":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-485x165.jpg",485,165,true],"post-featured-opt-xs":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-375x128.jpg",375,128,true],"post-most-popular":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-50x50.jpg",50,50,true],"post-author":["https:\/\/www.combell.com\/en\/blog\/files\/Automate-your-Reseller-Hosting-using-our-new-API-60x60.jpg",60,60,true]},"uagb_author_info":{"display_name":"Combell","author_link":"https:\/\/www.combell.com\/en\/blog\/author\/blogadmin\/"},"uagb_comment_info":0,"uagb_excerpt":"Thanks to Combell\u2019s API for Reseller Hosting, you can manage the features of your hosting packages at Combell directly from your own programming code or tools. But how exactly does...","_links":{"self":[{"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/posts\/7029"}],"collection":[{"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/comments?post=7029"}],"version-history":[{"count":3,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/posts\/7029\/revisions"}],"predecessor-version":[{"id":8646,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/posts\/7029\/revisions\/8646"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/media\/8644"}],"wp:attachment":[{"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/media?parent=7029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/categories?post=7029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/tags?post=7029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}