{"id":729,"date":"2021-12-14T09:42:29","date_gmt":"2021-12-14T04:12:29","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?p=729"},"modified":"2026-07-20T12:28:50","modified_gmt":"2026-07-20T06:58:50","slug":"create-use-sms-gateway-center-api-key","status":"publish","type":"post","link":"https:\/\/www.smsgatewaycenter.com\/blog\/create-use-sms-gateway-center-api-key\/","title":{"rendered":"How to Create and Use your SMS Gateway Center API Key"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">To send SMS using our <a href=\"https:\/\/www.smsgateway.center\/docs\/api\/\">SMS API<\/a>, you will need to have either a username\/password or an API key authentication. Once you are enabled with SMS Gateway Center API access, you can integrate multiple SMS integrations with several vendors and API integration providers such as Zapier. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are two ways to generate or regenerate your API key for your SMS Gateway Center account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">User Interface<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to your SMS Gateway Center account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to Sidebar \u21fe My Account \u21fe API Key.<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium is-resized\"><a href=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-15.png\"><img loading=\"lazy\" decoding=\"async\" width=\"168\" height=\"300\" src=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-15-168x300.png\" alt=\"\" class=\"wp-image-730\" style=\"width:126px;height:225px\" srcset=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-15-168x300.png 168w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-15.png 460w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Click on Generate Tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-16.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"237\" src=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-16-1024x237.png\" alt=\"\" class=\"wp-image-731\" style=\"width:512px;height:119px\" srcset=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-16-1024x237.png 1024w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-16-300x69.png 300w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-16-768x178.png 768w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-16-1536x356.png 1536w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-16-2048x474.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Enter captcha text and click on Generate.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"548\" src=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-17-1024x548.png\" alt=\"\" class=\"wp-image-732\" srcset=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-17-1024x548.png 1024w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-17-300x160.png 300w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-17-768x411.png 768w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-17.png 1092w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then go back to the View tab, click on the show and copy your API key.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-18.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"267\" src=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-18-1024x267.png\" alt=\"\" class=\"wp-image-733\" srcset=\"https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-18-1024x267.png 1024w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-18-300x78.png 300w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-18-768x201.png 768w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-18-1536x401.png 1536w, https:\/\/www.smsgatewaycenter.com\/blog\/wp-content\/uploads\/2021\/12\/image-18-2048x535.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">SMS API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can generate and regenerate your API key using our SMS API too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your request should be sent to <span class=\"has-inline-color has-luminous-vivid-orange-color\">https:\/\/www.smsgateway.center\/SMSApi\/rest\/regenerateAPIKey<\/span>?{AUTHParams} where {AUTHParams} is the way to authenticate. You can learn more about <a href=\"https:\/\/www.smsgateway.center\/docs\/api\/account\/regenerate-apikey\/\">Generate\/Regenerate API Key &#8211; SMS API<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once your request gets executed successfully, you will be given the following response.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"status\": \"success\",\n    \"apiKey\": \"03db883b5e1xxxxxxxxxxxx\",\n    \"statusCode\": \"900\",\n    \"reason\": \"success\"\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note: API Key should be sent in the header when you are making API requests to authenticate.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An API Key has been provided to authenticate our API call. If you want to use our API and do not want to use your username and password to authenticate, then you can use an API Key to authenticate your API calls. This should be confidential and ensure you are not sharing with anyone.&nbsp;<strong>IF YOU DO NOT WISH TO USE IT, DO NOT GENERATE AN API KEY.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Learn more about <strong><a href=\"https:\/\/www.smsgatewaycenter.com\/blog\/send-sms-api-guide\/\">sending SMS API<\/a><\/strong> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>To send SMS using our SMS API, you will need to have either a username\/password or an API key authentication. Once you are enabled with SMS Gateway Center API access, you can integrate multiple SMS integrations with several vendors and API integration providers such as Zapier. There are two ways to generate or regenerate your [&hellip;]<\/p>\n","protected":false},"author":118,"featured_media":732,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[268],"tags":[479,480,269,482,481,478,27,76],"class_list":["post-729","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-api-key","tag-generate-api-key","tag-http-sms-api","tag-regenerate-api-key","tag-sms-api","tag-sms-api-key","tag-sms-gateway-center","tag-sms-http-api"],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/posts\/729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"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=729"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/posts\/729\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media\/732"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/categories?post=729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/tags?post=729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}