{"id":811,"date":"2024-05-07T11:43:45","date_gmt":"2024-05-07T11:43:45","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/where-is-my-api-key\/"},"modified":"2025-08-27T08:42:40","modified_gmt":"2025-08-27T08:42:40","password":"","slug":"where-is-my-api-key","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/where-is-my-api-key\/","title":{"rendered":"Where is my API key? How do I use it?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What and where is the API Key?<\/h2>\n\n\n\n<p>The API Key is a unique code that represents the bridge between <a href=\"https:\/\/wordpress.org\/plugins\/shortpixel-image-optimiser\/\" target=\"_blank\" rel=\"noopener\">ShortPixel Image Optimizer<\/a> (SPIO) and our service. After you <a href=\"https:\/\/shortpixel.com\/free-sign-up\" target=\"_blank\" rel=\"noopener\">register a ShortPixel account<\/a>, you will receive an email with the API Key. In case you don&#8217;t receive an email for any reason, you can find your API Key by following the instructions below.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/shortpixel.com\/login\" target=\"_blank\" rel=\"noopener\">Log in<\/a> to your ShortPixel account<\/li>\n\n\n\n<li>From <a href=\"https:\/\/shortpixel.com\/dashboard\" target=\"_blank\" rel=\"noopener\">your dashboard<\/a>, go to <strong>API Keys<\/strong>.<\/li>\n\n\n\n<li>The API Key is the string of 20 letters and numbers.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2025\/08\/file-hSf6eF2Wu8.png\" alt=\"\" style=\"width:800px\"\/><\/figure>\n\n\n\n<section class=\"callout-red\"><strong>Important:<\/strong> Do<strong> not <\/strong>press the &#8220;RESET YOUR API KEY&#8221; button unless you explicitly want to do that.<\/section>\n\n\n\n<h2 class=\"wp-block-heading\">How to add it for the first time<\/h2>\n\n\n\n<p>If you just installed SPIO on your WordPress site and need to add the API Key for the first time, you need to navigate to <em>Settings <\/em>> <em>ShortPixel, <\/em>paste it where requested, and click the <strong>Continue<\/strong> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"605\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250115_114551-1024x605.jpg\" alt=\"\" class=\"wp-image-1590\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250115_114551-1024x605.jpg 1024w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250115_114551-300x177.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250115_114551-768x454.jpg 768w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250115_114551-1536x908.jpg 1536w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250115_114551-360x213.jpg 360w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250115_114551.jpg 2028w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How to replace an old API Key<\/h2>\n\n\n\n<p>If you have changed your API Key and need to replace it on your WordPress site, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <em>Settings > ShortPixel > Overview<\/em>.<\/li>\n\n\n\n<li>Click on the <strong>Show API Key<\/strong> link.<\/li>\n\n\n\n<li>Enter it on the new text box that appears.<\/li>\n\n\n\n<li>Click on <strong>Save settings &amp; validate<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"595\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250116_122521-1024x595.jpg\" alt=\"\" class=\"wp-image-1594\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250116_122521-1024x595.jpg 1024w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250116_122521-300x174.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250116_122521-768x446.jpg 768w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250116_122521-1536x893.jpg 1536w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250116_122521-360x209.jpg 360w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250116_122521.jpg 1965w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>What and where is the API Key? The API Key is a unique code that represents the bridge between ShortPixel Image Optimizer (SPIO) and our service. After you register a ShortPixel account, you will receive an email with the API Key. In case you don&#8217;t receive an email for any reason, you can find your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[37],"glossaries":[],"doc_tag":[],"class_list":["post-811","docs","type-docs","status-publish","hentry","doc_category-shortpixel-image-optimizer"],"blocksy_meta":[],"year_month":"2026-04","word_count":199,"total_views":"1242","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin","author_nicename":"admin_mdli53m5","author_url":"https:\/\/kb.shortpixel.com\/author\/admin_mdli53m5\/"},"doc_category_info":[{"term_name":"ShortPixel Image Optimizer","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/shortpixel-image-optimizer\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/comments?post=811"}],"version-history":[{"count":4,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/811\/revisions"}],"predecessor-version":[{"id":2450,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/811\/revisions\/2450"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=811"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=811"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=811"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}