{"id":4313,"date":"2021-10-12T13:48:07","date_gmt":"2021-10-12T10:48:07","guid":{"rendered":"https:\/\/sms-man.com\/blog\/?p=4313"},"modified":"2021-11-26T14:58:05","modified_gmt":"2021-11-26T11:58:05","slug":"how-to-use-our-api-introduction","status":"publish","type":"post","link":"https:\/\/sms-man.com\/blog\/how-to-use-our-api-introduction\/","title":{"rendered":"How to use our API: introduction"},"content":{"rendered":"<p><iframe title=\"API FOR WHOSALE SMS ACTIVATION | HOW TO RECEIVE SMS USING API OF SMS-MAN\" width=\"843\" height=\"474\" src=\"https:\/\/www.youtube.com\/embed\/I3jwNoXmw5M?enablejsapi=1?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>Not every user of Internet knows, how servers communicate each other. And of course our servers communicating with others too. For that we made API &#8211; application programming interface, that allows other services to take our numbers.<\/p>\n<p>Also it is responded for showing prices on website, updating balance, buying numbers and receiving SMS. In new series of articles we will show you, how our API can be used!<\/p>\n<h2>API Request: glossarium<\/h2>\n<p>Every user should know terminology that commonly used in that sphere. Let&#8217;s write out the main things:<\/p>\n<ul>\n<li>API &#8211; application programming interface, system, that allows servers to communicate<\/li>\n<li>Request &#8211; like a phrase, that server send to server to give info<\/li>\n<li>GET &#8211; type of request, that made to get some information<\/li>\n<li>POST &#8211; type of request, that made to give some information<\/li>\n<li>Host &#8211; server, which accepts requests<\/li>\n<li>Token or Key &#8211; individual value, identificator of user.<\/li>\n<\/ul>\n<p>It will be enough at first time. Let&#8217;s check how our protocol can be used.<\/p>\n<h3>Requesting balance<\/h3>\n<p>At first we have to do all preparations:<\/p>\n<ol>\n<li>Sign up at <a href=\"https:\/\/sms-man.com\/?ref=PmUtH-AtuMua\" target=\"_blank\">SMS-Man.\u00a0<\/a><img loading=\"lazy\" class=\"size-full wp-image-4311 aligncenter\" src=\"https:\/\/blog.sms-man.com\/wp-content\/uploads\/2021\/10\/Screenshot_12.jpg\" alt=\"\" width=\"1894\" height=\"816\" srcset=\"https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_12.jpg 1894w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_12-300x129.jpg 300w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_12-1024x441.jpg 1024w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_12-768x331.jpg 768w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_12-1536x662.jpg 1536w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_12-80x34.jpg 80w\" sizes=\"(max-width: 1894px) 100vw, 1894px\" \/><\/li>\n<li>Go to your profile and find API-key.<img loading=\"lazy\" class=\"size-full wp-image-4314 aligncenter\" src=\"https:\/\/blog.sms-man.com\/wp-content\/uploads\/2021\/10\/Screenshot_22.png\" alt=\"\" width=\"521\" height=\"407\" srcset=\"https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_22.png 521w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_22-300x234.png 300w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_22-80x62.png 80w\" sizes=\"(max-width: 521px) 100vw, 521px\" \/><\/li>\n<li>That key will be used to speak to our server. Let&#8217;s go <a href=\"https:\/\/sms-man.com\/site\/docs-apiv2\" target=\"_blank\">https:\/\/sms-man.com\/site\/docs-apiv2<\/a> and find request samples. <img loading=\"lazy\" class=\"size-full wp-image-4315 aligncenter\" src=\"https:\/\/blog.sms-man.com\/wp-content\/uploads\/2021\/10\/Screenshot_23.png\" alt=\"\" width=\"1058\" height=\"207\" srcset=\"https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_23.png 1058w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_23-300x59.png 300w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_23-1024x200.png 1024w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_23-768x150.png 768w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_23-80x16.png 80w\" sizes=\"(max-width: 1058px) 100vw, 1058px\" \/><\/li>\n<li>Then go to blank page and copy sample request, changing $token to your key.<img loading=\"lazy\" class=\"size-full wp-image-4316 aligncenter\" src=\"https:\/\/blog.sms-man.com\/wp-content\/uploads\/2021\/10\/Screenshot_24.png\" alt=\"\" width=\"618\" height=\"112\" srcset=\"https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_24.png 618w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_24-300x54.png 300w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_24-80x14.png 80w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/li>\n<li>After tapping enter, you will see your balance in rubles.<img loading=\"lazy\" class=\"size-full wp-image-4317 aligncenter\" src=\"https:\/\/blog.sms-man.com\/wp-content\/uploads\/2021\/10\/Screenshot_25.png\" alt=\"\" width=\"338\" height=\"59\" srcset=\"https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_25.png 338w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_25-300x52.png 300w, https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/Screenshot_25-80x14.png 80w\" sizes=\"(max-width: 338px) 100vw, 338px\" \/><\/li>\n<\/ol>\n<p>So easy and useful! In further articles I will show, how to use API for making your own SMS-receiving software.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Not every user of Internet knows, how servers communicate each other. And of course our servers communicating with others too. For that we made API&hellip;<\/p>\n<div class='heateorSssClear'><\/div><div  class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' heateor-sss-data-href='https:\/\/sms-man.com\/blog\/how-to-use-our-api-introduction\/'><div class='heateor_sss_sharing_title' style=\"font-weight:bold\" ><\/div><ul class=\"heateor_sss_sharing_ul\"><li class=\"heateorSssSharingRound\"><i style=\"width:80px;height:25px;border-radius:5px;\" alt=\"Facebook\" Title=\"Facebook\" class=\"heateorSssSharing heateorSssFacebookBackground\" onclick='heateorSssPopup(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fsms-man.com%2Fblog%2Fhow-to-use-our-api-introduction%2F\")'><ss style=\"display:block;\" class=\"heateorSssSharingSvg heateorSssFacebookSvg\"><\/ss><\/i><\/li><li class=\"heateorSssSharingRound\"><i style=\"width:80px;height:25px;border-radius:5px;\" alt=\"Twitter\" Title=\"Twitter\" class=\"heateorSssSharing heateorSssTwitterBackground\" onclick='heateorSssPopup(\"http:\/\/twitter.com\/intent\/tweet?via=smsmantweets&text=How%20to%20use%20our%20API%3A%20introduction&url=https%3A%2F%2Fsms-man.com%2Fblog%2Fhow-to-use-our-api-introduction%2F\")'><ss style=\"display:block;\" class=\"heateorSssSharingSvg heateorSssTwitterSvg\"><\/ss><\/i><\/li><li class=\"heateorSssSharingRound\"><i style=\"width:80px;height:25px;border-radius:5px;\" alt=\"Telegram\" Title=\"Telegram\" class=\"heateorSssSharing heateorSssTelegramBackground\" onclick='heateorSssPopup(\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fsms-man.com%2Fblog%2Fhow-to-use-our-api-introduction%2F&text=How%20to%20use%20our%20API%3A%20introduction\")'><ss style=\"display:block;\" class=\"heateorSssSharingSvg heateorSssTelegramSvg\"><\/ss><\/i><\/li><li class=\"heateorSssSharingRound\"><i style=\"width:80px;height:25px;border-radius:5px;\" alt=\"Reddit\" Title=\"Reddit\" class=\"heateorSssSharing heateorSssRedditBackground\" onclick='heateorSssPopup(\"http:\/\/reddit.com\/submit?url=https%3A%2F%2Fsms-man.com%2Fblog%2Fhow-to-use-our-api-introduction%2F&title=How%20to%20use%20our%20API%3A%20introduction\")'><ss style=\"display:block;\" class=\"heateorSssSharingSvg heateorSssRedditSvg\"><\/ss><\/i><\/li><li class=\"heateorSssSharingRound\"><i style=\"width:80px;height:25px;border-radius:5px;\" alt=\"Pinterest\" Title=\"Pinterest\" class=\"heateorSssSharing heateorSssPinterestBackground\" onclick=\"javascript:void( (function() {var e=document.createElement('script' );e.setAttribute('type','text\/javascript' );e.setAttribute('charset','UTF-8' );e.setAttribute('src','\/\/assets.pinterest.com\/js\/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());\"><ss style=\"display:block;\" class=\"heateorSssSharingSvg heateorSssPinterestSvg\"><\/ss><\/i><\/li><\/ul><div class=\"heateorSssClear\"><\/div><\/div><div class='heateorSssClear'><\/div>","protected":false},"author":8,"featured_media":4318,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use our API: introduction - SMS-Man Blog -<\/title>\n<meta name=\"description\" content=\"Not every user of Internet knows, how servers communicate. For that we made API - application programming interface, that allows..\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sms-man.com\/blog\/how-to-use-our-api-introduction\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use our API: introduction - SMS-Man Blog -\" \/>\n<meta property=\"og:description\" content=\"Not every user of Internet knows, how servers communicate. For that we made API - application programming interface, that allows..\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sms-man.com\/blog\/how-to-use-our-api-introduction\/\" \/>\n<meta property=\"og:site_name\" content=\"SMS-Man Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/smsmanSERVICE\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/smsmanSERVICE\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-12T10:48:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-26T11:58:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sms-man.com\/blog\/wp-content\/uploads\/2021\/10\/2f5f7e15faaad377f57114935facc22c.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1168\" \/>\n\t<meta property=\"og:image:height\" content=\"657\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@smsmantweets\" \/>\n<meta name=\"twitter:site\" content=\"@smsmantweets\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"3 minutes\">\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/posts\/4313"}],"collection":[{"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/comments?post=4313"}],"version-history":[{"count":3,"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/posts\/4313\/revisions"}],"predecessor-version":[{"id":5345,"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/posts\/4313\/revisions\/5345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/media\/4318"}],"wp:attachment":[{"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/media?parent=4313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/categories?post=4313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sms-man.com\/blog\/wp-json\/wp\/v2\/tags?post=4313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}