{"id":1475,"date":"2025-03-03T20:11:07","date_gmt":"2025-03-03T14:41:07","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?post_type=docs&#038;p=1475"},"modified":"2025-03-03T20:17:51","modified_gmt":"2025-03-03T14:47:51","password":"","slug":"what-should-i-do-if-my-api-key-isnt-working","status":"publish","type":"docs","link":"https:\/\/www.smsgatewaycenter.com\/blog\/kb\/what-should-i-do-if-my-api-key-isnt-working\/","title":{"rendered":"What should I do if my API key isn\u2019t working?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When making requests to the <strong><a href=\"https:\/\/www.smsgatewaycenter.com\/developer-api\/\">Restful API<\/a><\/strong>, ensure the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Include the API key in the <strong>request header<\/strong> for <strong>authentication<\/strong> purposes.<\/li>\n\n\n\n<li>Use the \u201c<strong>userid<\/strong>\u201d parameter and the API key as login credentials while using the API.<\/li>\n\n\n\n<li><em>No password parameter is required<\/em> when using an API key for authentication.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Nothing works, please contact our support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When making requests to the Restful API, ensure the following: Nothing works, please contact our support team.<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[1334],"doc_tag":[],"class_list":["post-1475","docs","type-docs","status-publish","hentry","doc_category-api"],"year_month":"2026-07","word_count":55,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.smsgatewaycenter.com\/blog\/author\/admin\/"},"doc_category_info":[{"term_name":"API","term_url":"https:\/\/www.smsgatewaycenter.com\/blog\/kb-cat\/api\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/1475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/users\/118"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/comments?post=1475"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/1475\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=1475"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_category?post=1475"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=1475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}