{"id":341,"date":"2025-04-14T08:55:52","date_gmt":"2025-04-14T08:55:52","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2025\/04\/14\/11079560-using-hostinger-vps-api-with-postman-a-step-by-step-guide\/"},"modified":"2025-04-14T08:55:52","modified_gmt":"2025-04-14T08:55:52","slug":"11079560-using-hostinger-vps-api-with-postman-a-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/11079560-using-hostinger-vps-api-with-postman-a-step-by-step-guide\/","title":{"rendered":"Using Hostinger VPS API With Postman: A Step-by-Step Guide"},"content":{"rendered":"<p class=\"no-margin\">Hostinger VPS API enables easy and efficient management of your Virtual Private Server directly via API requests. This guide explains how to set up and use the Hostinger VPS API using Postman.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_137268bdc6\">Install Postman<\/h2><p class=\"no-margin\">If you haven&rsquo;t already, <a href=\"https:\/\/www.postman.com\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">download and install Postman<\/a> on your system.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_0cc2c6160d\">Import the Hostinger API collection<\/h2><ol>\n<li>\n<p class=\"no-margin\">Open Postman.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click Collections on the left sidebar.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click Import at the top-left.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Choose the Link tab.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Paste the <a href=\"https:\/\/www.postman.com\/hostinger-api\/hostinger\/overview\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Hostinger API collection<\/a> URL:<\/p>\n<pre><code>https:\/\/www.postman.com\/hostinger-api\/hostinger\/collection\/1jnj25h\/hostinger-api<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"no-margin\">Click <b>Continue<\/b>, then <b>Import<\/b>.<\/p>\n<\/li>\n<\/ol><p class=\"no-margin\">The Hostinger API collection is now imported and ready to use.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_68eaa6fede\">Configure your API key<\/h2><ol>\n<li>\n<p class=\"no-margin\">Within Postman, click on the imported <b>Hostinger API<\/b> collection.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click the <b>Variables<\/b> tab.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Add your Hostinger API key to the <code>api_key<\/code> variable:<\/p>\n<\/li>\n<\/ol><ul>\n<li>\n<p class=\"no-margin\">Name: <code>api_key<\/code><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Value: Paste your Hostinger API key.<\/p>\n<\/li>\n<\/ul><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\"><b>Note:<\/b> You can find your API key in your <a href=\"https:\/\/hpanel.hostinger.com\/profile\/api\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Hostinger account settings<\/a>.<\/p>\n<\/div><h2 id=\"h_c14cc116af\">Making Your First API Request<\/h2><ol>\n<li>\n<p class=\"no-margin\">Under the imported collection, navigate to the <b>VPS<\/b> folder.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Select an endpoint you wish to use, for example, &ldquo;List all VPS instances.&rdquo;<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click <b>Send<\/b>.<\/p>\n<\/li>\n<\/ol><p class=\"no-margin\">Postman will perform the API request, and you&rsquo;ll see the JSON response in the response section.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">You have now successfully integrated and tested Hostinger VPS API with Postman. Utilize this setup to manage your VPS resources programmatically and efficiently.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If you want more support or questions, please refer to the official <a href=\"https:\/\/developers.hostinger.com\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Hostinger API documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to install Hostinger API Postman collection<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[295],"tags":[],"class_list":["post-341","post","type-post","status-publish","format-standard","hentry","category-api"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/11079560-using-hostinger-vps-api-with-postman-a-step-by-step-guide\/","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=341"}],"version-history":[{"count":0,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/341\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}