{"id":247,"date":"2026-09-22T10:45:14","date_gmt":"2026-09-22T10:45:14","guid":{"rendered":"https:\/\/phoenixnap.com\/doc\/?p=247"},"modified":"2026-11-27T09:01:49","modified_gmt":"2026-11-27T09:01:49","slug":"get-started-api","status":"publish","type":"post","link":"https:\/\/phoenixnap.com\/doc\/get-started-api","title":{"rendered":"Get Started with the API"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This tutorial shows how to use the phoenixNAP Bare Metal Cloud (BMC) API to deploy a server. You authorize the API, send a request from the BMC developer portal, and connect to the server over Secure Shell (SSH). You do not need to write any code.<\/p>\n\n\n\n<div class=\"wp-block-group has-background is-vertical is-layout-flex wp-container-core-group-is-layout-2e417836 wp-block-group-is-layout-flex\" style=\"border-left-color:#4fabc2;border-left-width:0.19rem;background-color:#4fabc233;padding-top:0.94rem;padding-right:var(--wp--preset--spacing--30);padding-bottom:0.94rem;padding-left:1.25rem\">\n<h6 class=\"wp-block-heading\" style=\"font-size:0.81rem;font-style:normal;font-weight:600;letter-spacing:0px\">Prerequisites<\/h6>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.102), 0.94rem);\">Log in to the <a href=\"https:\/\/bmc.phoenixnap.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">BMC portal<\/a> (if you are a new user, <a href=\"https:\/\/phoenixnap.com\/doc\/set-up-your-account\/\" data-type=\"post\" data-id=\"313\">set up your account<\/a> and <a href=\"https:\/\/phoenixnap.com\/doc\/add-a-payment-method\/\" data-type=\"post\" data-id=\"520\">add a payment method<\/a>). You also need to create <a href=\"https:\/\/phoenixnap.com\/doc\/api-credentials\/\" data-type=\"post\" data-id=\"249\">API credentials<\/a> with the <strong>bmc<\/strong> scope. Have the <strong>Client ID<\/strong> and <strong>Client Secret<\/strong> ready, and open a terminal with an SSH client.<\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Create an SSH Key<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create an SSH key pair on your computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. In your terminal, create a key pair:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">ssh-keygen -f ~\/.ssh\/bmc_key<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">2. Press <strong>Enter<\/strong> to skip the passphrase prompts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Display the public key:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">cat ~\/.ssh\/bmc_key.pub<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">4. Copy the output. You'll paste it into the server request in <strong>Step 3<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Authorize the API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. Open the <a href=\"https:\/\/developers.phoenixnap.com\/docs\/bmc\/1\/routes\/servers\/post\" target=\"_blank\" rel=\"noreferrer noopener\">POST \/servers<\/a> endpoint page in the BMC developer portal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Click <strong>Authorize<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Enter your <strong>Client ID<\/strong> and <strong>Client Secret<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Click <strong>Authorize<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-group has-background is-vertical is-layout-flex wp-container-core-group-is-layout-2e417836 wp-block-group-is-layout-flex\" style=\"border-left-color:#fde9ce;border-left-width:0.19rem;background-color:#fde9ce66;padding-top:0.94rem;padding-right:var(--wp--preset--spacing--30);padding-bottom:0.94rem;padding-left:1.25rem\">\n<h6 class=\"wp-block-heading\" style=\"font-size:0.81rem;font-style:normal;font-weight:600;letter-spacing:0px\">Note<\/h6>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.102), 0.94rem);\">The access token is valid for 15 minutes. If a request fails with an authorization error, authorize again.<\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Deploy a Server<\/h2>\n\n\n\n<div class=\"wp-block-group has-background is-vertical is-layout-flex wp-container-core-group-is-layout-2e417836 wp-block-group-is-layout-flex\" style=\"border-left-color:#fc4c4c;border-left-width:0.19rem;background-color:#fc4c4c33;padding-top:0.94rem;padding-right:var(--wp--preset--spacing--30);padding-bottom:0.94rem;padding-left:1.25rem\">\n<h6 class=\"wp-block-heading\" style=\"font-size:0.81rem;font-style:normal;font-weight:600;letter-spacing:0px\">Warning<\/h6>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.102), 0.94rem);\">Servers are <strong>billed hourly<\/strong> from the moment you deploy them, with a <strong>minimum charge of one hour<\/strong>. Delete the server in Step 6 to stop billing.<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">1. On the <a href=\"https:\/\/developers.phoenixnap.com\/docs\/bmc\/1\/routes\/servers\/post\" target=\"_blank\" rel=\"noreferrer noopener\">POST \/servers<\/a> page, paste the following into the Request Body field:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JSON \/ JSON with Comments\" data-shcb-language-slug=\"json\"><span><code class=\"hljs language-json\">{\n  <span class=\"hljs-attr\">\"hostname\"<\/span>: <span class=\"hljs-string\">\"my-first-server\"<\/span>,\n  <span class=\"hljs-attr\">\"os\"<\/span>: <span class=\"hljs-string\">\"ubuntu\/noble\"<\/span>,\n  <span class=\"hljs-attr\">\"type\"<\/span>: <span class=\"hljs-string\">\"s0.d1.small\"<\/span>,\n  <span class=\"hljs-attr\">\"location\"<\/span>: <span class=\"hljs-string\">\"PHX\"<\/span>,\n  <span class=\"hljs-attr\">\"sshKeys\"<\/span>: &#91;\n    <span class=\"hljs-string\">\"&#91;PUBLIC_KEY]\"<\/span>\n  ]\n}<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JSON \/ JSON with Comments<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">json<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Replace <strong><code>[PUBLIC_KEY]<\/code><\/strong> with the public key you copied. Paste the full line, including the <strong><code>ssh-<\/code><\/strong> prefix.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Click <strong>Execute<\/strong>.The response shows the server details. Save the <strong><code>id<\/code><\/strong> and one address from the <strong><code>publicIpAddresses<\/code><\/strong>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the ID in <strong>Step 4<\/strong> to fetch server details and in <strong>Step 6<\/strong> to delete the server. The public IP address is required in <strong>Step 5<\/strong> to connect to your server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Below is a trimmed example of a response:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"JSON \/ JSON with Comments\" data-shcb-language-slug=\"json\"><span><code class=\"hljs language-json\">{\n  <span class=\"hljs-attr\">\"id\"<\/span>: <span class=\"hljs-string\">\"&#91;SERVER_ID]\"<\/span>,\n  <span class=\"hljs-attr\">\"status\"<\/span>: <span class=\"hljs-string\">\"creating\"<\/span>,\n  <span class=\"hljs-attr\">\"hostname\"<\/span>: <span class=\"hljs-string\">\"my-first-server\"<\/span>,\n  <span class=\"hljs-attr\">\"publicIpAddresses\"<\/span>: &#91;\n    <span class=\"hljs-string\">\"&#91;PUBLIC_IP_ADDRESS]\"<\/span>\n  ]\n}<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JSON \/ JSON with Comments<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">json<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">The actual response shows additional fields.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Check the Server Status<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. Open the <a href=\"https:\/\/developers.phoenixnap.com\/docs\/bmc\/1\/routes\/servers\/get\" target=\"_blank\" rel=\"noreferrer noopener\">GET \/servers\/[SERVER_ID]<\/a> endpoint page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Expand the standard parameters section to show the <strong>serverId<\/strong> field.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Provide the <strong><code>id<\/code><\/strong> from <strong>Step 3<\/strong> into the <strong>serverId<\/strong> field.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Click <strong>Execute<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Deployments take from 3 minutes to 15 minutes. When the <strong><code>status<\/code><\/strong> field shows <strong><code>powered-on<\/code><\/strong>, the server is ready. Repeat this check until the status changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Connect to the Server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. In your terminal, connect to the server:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">ssh -i ~\/.ssh\/bmc_key ubuntu@&#91;PUBLIC_IP]<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Replace <strong><code>[PUBLIC_IP]<\/code><\/strong> with the address from <strong>Step 3<\/strong>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. If prompted to trust the host, enter <strong><code>yes<\/code><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The terminal changes to <strong><code>ubuntu@my-first-server<\/code><\/strong>. You are now connected to your server. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Delete the Server<\/h2>\n\n\n\n<div class=\"wp-block-group has-background is-vertical is-layout-flex wp-container-core-group-is-layout-2e417836 wp-block-group-is-layout-flex\" style=\"border-left-color:#fc4c4c;border-left-width:0.19rem;background-color:#fc4c4c33;padding-top:0.94rem;padding-right:var(--wp--preset--spacing--30);padding-bottom:0.94rem;padding-left:1.25rem\">\n<h6 class=\"wp-block-heading\" style=\"font-size:0.81rem;font-style:normal;font-weight:600;letter-spacing:0px\">Warning<\/h6>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.102), 0.94rem);\">Deleting a server permanently erases its data.<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">1. Enter <strong><code>exit<\/code><\/strong> to close the SSH connection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Open the <a href=\"https:\/\/developers.phoenixnap.com\/docs\/bmc\/1\/routes\/servers\/%7BserverId%7D\/delete\" target=\"_blank\" rel=\"noreferrer noopener\">DELETE \/servers\/[SERVER_ID]<\/a> endpoint page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Expand the standard parameters field to view all fields.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. In the <strong><code>serverId<\/code><\/strong> field, enter the <strong><code>id<\/code><\/strong> value from <strong>Step 3<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. Click <strong>Execute<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Billing stops when the server is deleted.<\/p>\n\n\n\n<div class=\"wp-block-group has-background is-vertical is-layout-flex wp-container-core-group-is-layout-2e417836 wp-block-group-is-layout-flex\" style=\"border-left-color:#b9ddbb66;border-left-width:0.19rem;background-color:#b9ddbb66;padding-top:0.94rem;padding-right:var(--wp--preset--spacing--30);padding-bottom:0.94rem;padding-left:1.25rem\">\n<h6 class=\"wp-block-heading\" style=\"font-size:0.81rem;font-style:normal;font-weight:600;letter-spacing:0px\">Find out more<\/h6>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.102), 0.94rem);\"><a href=\"https:\/\/phoenixnap.com\/doc\/api\/\">API overview<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Set up API authentication, deploy an Ubuntu server with a REST request, and establish an SSH connection to the instance.<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[39],"tags":[],"class_list":["post-247","post","type-post","status-publish","format-standard","hentry","category-api-and-automation"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Get Started with the API | phoenixNAP<\/title>\n<meta name=\"description\" content=\"API quickstart guide for phoenixNAP Bare Metal Cloud. Learn to authenticate API credentials, deploy servers with REST, and manage access.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/phoenixnap.com\/doc\/get-started-api\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get Started with the API | phoenixNAP\" \/>\n<meta property=\"og:description\" content=\"API quickstart guide for phoenixNAP Bare Metal Cloud. Learn to authenticate API credentials, deploy servers with REST, and manage access.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/phoenixnap.com\/doc\/get-started-api\" \/>\n<meta property=\"og:site_name\" content=\"BMC Docs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/phoenixnap\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-22T10:45:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-27T09:01:49+00:00\" \/>\n<meta name=\"author\" content=\"Marko Aleksic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@phoenixNAP\" \/>\n<meta name=\"twitter:site\" content=\"@phoenixNAP\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marko Aleksic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/get-started-api#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/get-started-api\"},\"author\":{\"name\":\"Marko Aleksic\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#\\\/schema\\\/person\\\/388816d91a9c0dbfb4257a5807eb0850\"},\"headline\":\"Get Started with the API\",\"datePublished\":\"2026-09-22T10:45:14+00:00\",\"dateModified\":\"2026-11-27T09:01:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/get-started-api\"},\"wordCount\":344,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#organization\"},\"articleSection\":[\"API and Automation\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/get-started-api#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/get-started-api\",\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/get-started-api\",\"name\":\"Get Started with the API | phoenixNAP\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#website\"},\"datePublished\":\"2026-09-22T10:45:14+00:00\",\"dateModified\":\"2026-11-27T09:01:49+00:00\",\"description\":\"API quickstart guide for phoenixNAP Bare Metal Cloud. Learn to authenticate API credentials, deploy servers with REST, and manage access.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/get-started-api#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/get-started-api\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/get-started-api#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Started with the API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#website\",\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/\",\"name\":\"phoenixNAP Bare Metal Cloud Documentation\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#organization\",\"name\":\"phoenixNAP\",\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/phoenixnap-logo.png\",\"contentUrl\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/phoenixnap-logo.png\",\"width\":200,\"height\":200,\"caption\":\"phoenixNAP\"},\"image\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/phoenixnap\",\"https:\\\/\\\/x.com\\\/phoenixNAP\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/phoenix-nap\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/PhoenixNAPdatacenter\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#\\\/schema\\\/person\\\/388816d91a9c0dbfb4257a5807eb0850\",\"name\":\"Marko Aleksic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g\",\"caption\":\"Marko Aleksic\"},\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/author\\\/markoa\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Get Started with the API | phoenixNAP","description":"API quickstart guide for phoenixNAP Bare Metal Cloud. Learn to authenticate API credentials, deploy servers with REST, and manage access.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/phoenixnap.com\/doc\/get-started-api","og_locale":"en_US","og_type":"article","og_title":"Get Started with the API | phoenixNAP","og_description":"API quickstart guide for phoenixNAP Bare Metal Cloud. Learn to authenticate API credentials, deploy servers with REST, and manage access.","og_url":"https:\/\/phoenixnap.com\/doc\/get-started-api","og_site_name":"BMC Docs","article_publisher":"https:\/\/www.facebook.com\/phoenixnap","article_published_time":"2026-09-22T10:45:14+00:00","article_modified_time":"2026-11-27T09:01:49+00:00","author":"Marko Aleksic","twitter_card":"summary_large_image","twitter_creator":"@phoenixNAP","twitter_site":"@phoenixNAP","twitter_misc":{"Written by":"Marko Aleksic","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/phoenixnap.com\/doc\/get-started-api#article","isPartOf":{"@id":"https:\/\/phoenixnap.com\/doc\/get-started-api"},"author":{"name":"Marko Aleksic","@id":"https:\/\/phoenixnap.com\/doc\/#\/schema\/person\/388816d91a9c0dbfb4257a5807eb0850"},"headline":"Get Started with the API","datePublished":"2026-09-22T10:45:14+00:00","dateModified":"2026-11-27T09:01:49+00:00","mainEntityOfPage":{"@id":"https:\/\/phoenixnap.com\/doc\/get-started-api"},"wordCount":344,"commentCount":0,"publisher":{"@id":"https:\/\/phoenixnap.com\/doc\/#organization"},"articleSection":["API and Automation"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/phoenixnap.com\/doc\/get-started-api#respond"]}]},{"@type":"WebPage","@id":"https:\/\/phoenixnap.com\/doc\/get-started-api","url":"https:\/\/phoenixnap.com\/doc\/get-started-api","name":"Get Started with the API | phoenixNAP","isPartOf":{"@id":"https:\/\/phoenixnap.com\/doc\/#website"},"datePublished":"2026-09-22T10:45:14+00:00","dateModified":"2026-11-27T09:01:49+00:00","description":"API quickstart guide for phoenixNAP Bare Metal Cloud. Learn to authenticate API credentials, deploy servers with REST, and manage access.","breadcrumb":{"@id":"https:\/\/phoenixnap.com\/doc\/get-started-api#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/phoenixnap.com\/doc\/get-started-api"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/phoenixnap.com\/doc\/get-started-api#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/phoenixnap.com\/doc\/"},{"@type":"ListItem","position":2,"name":"Get Started with the API"}]},{"@type":"WebSite","@id":"https:\/\/phoenixnap.com\/doc\/#website","url":"https:\/\/phoenixnap.com\/doc\/","name":"phoenixNAP Bare Metal Cloud Documentation","description":"","publisher":{"@id":"https:\/\/phoenixnap.com\/doc\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/phoenixnap.com\/doc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/phoenixnap.com\/doc\/#organization","name":"phoenixNAP","url":"https:\/\/phoenixnap.com\/doc\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/phoenixnap.com\/doc\/#\/schema\/logo\/image\/","url":"https:\/\/phoenixnap.com\/doc\/wp-content\/uploads\/2026\/10\/phoenixnap-logo.png","contentUrl":"https:\/\/phoenixnap.com\/doc\/wp-content\/uploads\/2026\/10\/phoenixnap-logo.png","width":200,"height":200,"caption":"phoenixNAP"},"image":{"@id":"https:\/\/phoenixnap.com\/doc\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/phoenixnap","https:\/\/x.com\/phoenixNAP","https:\/\/www.linkedin.com\/company\/phoenix-nap\/","https:\/\/www.youtube.com\/user\/PhoenixNAPdatacenter"]},{"@type":"Person","@id":"https:\/\/phoenixnap.com\/doc\/#\/schema\/person\/388816d91a9c0dbfb4257a5807eb0850","name":"Marko Aleksic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g","caption":"Marko Aleksic"},"url":"https:\/\/phoenixnap.com\/doc\/author\/markoa"}]}},"_links":{"self":[{"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/comments?post=247"}],"version-history":[{"count":34,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/posts\/247\/revisions"}],"predecessor-version":[{"id":3341,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/posts\/247\/revisions\/3341"}],"wp:attachment":[{"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/media?parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/categories?post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/tags?post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}