{"id":21476,"date":"2026-12-01T01:19:31","date_gmt":"2026-11-30T19:49:31","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/"},"modified":"2026-12-01T01:19:31","modified_gmt":"2026-11-30T19:49:31","slug":"what-is-sms-api","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/","title":{"rendered":"What is an SMS API? Meaning, how it works and an example"},"content":{"rendered":"<p>An SMS API is a link that lets your website, app or software send SMS by itself, with one web request, instead of a person typing the message and clicking Send. API stands for Application Programming Interface: a fixed set of rules that two programs use to talk to each other. Your code sends the numbers and the message details to the SMS provider, the provider delivers the SMS through the mobile operators and then tells you whether it was delivered.<\/p>\n<p>Businesses use an SMS API for OTPs, order updates, payment alerts and reminders. Below: how it works in India, SMS API vs gateway vs SMPP, the DLT details you need and a real Fast2SMS request.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Get your SMS API key<\/strong><p>Create a free Fast2SMS account, add your DLT template and send your first SMS from your own code.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>SMS API meaning in simple words<\/h2>\n<p>An SMS API is a web address on the provider&#8217;s server, called an endpoint. Your program sends a request to that address, and the request carries four things:<\/p>\n<ul>\n<li><strong>Your API key:<\/strong> a long secret code that proves the request comes from your account. It works like a password for programs.<\/li>\n<li><strong>The sender ID and template:<\/strong> which approved header and which approved message text to use.<\/li>\n<li><strong>The mobile numbers:<\/strong> one number or many, separated by commas.<\/li>\n<li><strong>The variable values:<\/strong> the parts that change in each SMS, such as a name, an order number or an amount.<\/li>\n<\/ul>\n<p>The API replies within moments with a request ID. You use this ID later to check what happened to each number. When people search for &#8220;API SMS&#8221;, they mean the same thing: SMS sent through an API.<\/p>\n<h2>How an SMS API works in India<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Your app sends the request<\/h3>\n<p>A customer places an order. Your website calls the SMS API with your API key, your sender ID, the template and the customer&#8217;s number.<\/p>\n<\/li>\n<li>\n<h3>Fast2SMS checks the request<\/h3>\n<p>Fast2SMS checks the API key, that the sender ID and template are approved in your account, that the numbers are valid Indian mobile numbers and that your wallet has enough balance. It then replies with a request ID.<\/p>\n<\/li>\n<li>\n<h3>The operator runs the DLT check<\/h3>\n<p>The SMS goes to the mobile operator, such as Jio, Airtel, Vi or BSNL. The operator matches it against DLT records: your entity, header, template and PE-TM chain. If something does not match, the operator blocks the SMS. Promotional SMS are not delivered to DND numbers.<\/p>\n<\/li>\n<li>\n<h3>The SMS reaches the phone<\/h3>\n<p>When the checks pass and the phone is on and in network, the SMS is delivered, usually within seconds.<\/p>\n<\/li>\n<li>\n<h3>You get the delivery report<\/h3>\n<p>The operator sends back a delivery report (DLR). You can see it in <strong>Delivery Report<\/strong> in the panel, fetch it with the request ID, or let Fast2SMS post it to your own URL with a webhook. A webhook is a message that your server receives automatically when the status changes.<\/p>\n<\/li>\n<\/ol>\n<h2>SMS API vs SMS gateway vs SMPP<\/h2>\n<p>These three words are often mixed up. This table shows the difference.<\/p>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Term<\/th>\n<th>What it means<\/th>\n<th>Who uses it<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>SMS gateway<\/td>\n<td>The whole service that connects to the operators, runs the checks and returns delivery reports. You use it from a web panel or through an API.<\/td>\n<td>Every business that sends SMS<\/td>\n<\/tr>\n<tr>\n<td>SMS API (HTTP API)<\/td>\n<td>The door your software uses to send SMS through the gateway: a web request over HTTPS, with GET or POST, that returns JSON.<\/td>\n<td>Websites, apps and CRMs. A few lines of code in any language<\/td>\n<\/tr>\n<tr>\n<td>SMPP<\/td>\n<td>Short Message Peer-to-Peer, a telecom protocol. Your system keeps a long open connection, called a bind, with a system ID and password.<\/td>\n<td>Very high-volume senders and SMS platforms that run their own SMPP client<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>For a closer look, read <a href=\"https:\/\/www.fast2sms.com\/help\/what-is-sms-gateway\/\">what an SMS gateway is and how it delivers your messages<\/a> and <a href=\"https:\/\/www.fast2sms.com\/help\/smpp-api-vs-https-api-whats-better-for-sms\/\">SMPP API vs HTTPS API<\/a>. DLT rules apply in the same way, whichever one you use.<\/p>\n<h2>What you need to use an SMS API in India<\/h2>\n<p>Under TRAI rules, every business SMS to an Indian number must match records on DLT (Distributed Ledger Technology), the registration system of the operators. Before your first API call, you need:<\/p>\n<ul>\n<li><strong>DLT entity registration:<\/strong> your business registers once as a Principal Entity on any one operator&#8217;s DLT portal. The entity ID (PE ID) you get works for all operators.<\/li>\n<li><strong>An approved header:<\/strong> the sender ID that shows on the phone, such as DEMOTR.<\/li>\n<li><strong>Approved content templates:<\/strong> the fixed text of each SMS, with {#var#} where the values change.<\/li>\n<li><strong>PE-TM binding:<\/strong> the link between your entity and Fast2SMS as your telemarketer, so operators accept your SMS.<\/li>\n<li><strong>A Fast2SMS account:<\/strong> with wallet balance and your API key.<\/li>\n<\/ul>\n<p>The DLT entity registration fee is \u20b95,900 per year including GST (at the time of writing), the same on every DLT portal. SMS sent through the API are charged per SMS from your wallet. See the current rates on the <a href=\"https:\/\/www.fast2sms.com\/api-sms\">Fast2SMS SMS API page<\/a>.<\/p>\n<div class=\"f2s-note f2s-volume\"><p><strong>Sending in bulk?<\/strong> For high SMS volumes our team offers discounted rates. <a href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Talk to our team<\/a> or see <a href=\"https:\/\/www.fast2sms.com\/bulk-sms-pricing\">SMS pricing<\/a>.<\/p><\/div>\n<p>New to these terms? Read <a href=\"https:\/\/www.fast2sms.com\/help\/dlt-full-form\/\">DLT full form and meaning<\/a> and <a href=\"https:\/\/www.fast2sms.com\/help\/what-is-entity-id-sender-id-and-content-template-id-in-dlt-bulk-sms\/\">what entity ID, sender ID and content template ID are<\/a>. If you want help with the registration, see <a href=\"https:\/\/www.fast2sms.com\/DLT-Registration\">DLT registration with Fast2SMS<\/a>. For testing and internal alerts, the Quick SMS route (route=q) sends without your own DLT template when <strong>Quick API Access<\/strong> is switched on.<\/p>\n<h2>An SMS API example: a real Fast2SMS request<\/h2>\n<p>This is the DLT SMS request from our <a href=\"https:\/\/www.fast2sms.com\/help\/bulk-sms-api-india\/\">bulk SMS API guide for India<\/a>. It sends one approved template to two numbers:<\/p>\n<pre><code>curl -X POST \"https:\/\/www.fast2sms.com\/dev\/bulkV2\" \\\n  -H \"Authorization: YOUR_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\n    \"route\": \"dlt\",\n    \"sender_id\": \"FSTSMS\",\n    \"message\": \"111111\",\n    \"variables_values\": \"Rahul|8888888888|6695\",\n    \"numbers\": \"8888888888,9999999999\"\n  }'<\/code><\/pre>\n<ul>\n<li><strong>Authorization:<\/strong> your API key.<\/li>\n<li><strong>route:<\/strong> dlt means &#8220;send my approved DLT template&#8221;.<\/li>\n<li><strong>sender_id:<\/strong> your approved DLT header.<\/li>\n<li><strong>message:<\/strong> the Message ID of the template in Fast2SMS DLT Manager. It is not the 19-digit DLT Template ID.<\/li>\n<li><strong>variables_values:<\/strong> the value for each {#var#}, in the same order, separated by a pipe (|).<\/li>\n<li><strong>numbers:<\/strong> 10-digit mobile numbers, separated by commas.<\/li>\n<\/ul>\n<p>When the request is accepted, the reply has &#8220;return&#8221;: true and a request_id. Accepted means the SMS is queued, not yet delivered. The delivery report gives the final status.<\/p>\n<p>You do not have to write this request by hand. In <strong>DLT Manager<\/strong>, open <strong>Content Template<\/strong> and click <strong>Sample Code<\/strong> on an approved template. You get the request with your own sender ID and Message ID filled in.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-template-sample-code-hd-10-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Fast2SMS SMS API sample code in cURL for an approved DLT template, with sender_id, message, route and numbers\"><figcaption>Sample Code on an approved template gives a ready SMS API request.<\/figcaption><\/figure>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Send your first SMS by API<\/strong><p>Sign up free, add your approved DLT template and copy its Sample Code into your app.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Set up the SMS API in Fast2SMS<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Copy your API key<\/h3>\n<p>Open <strong>Account Setting<\/strong> and click <strong>API Key<\/strong> under UTILITY. Click <strong>View<\/strong>, enter the OTP sent to your account mobile, then copy the <strong>Authorization Key<\/strong>. Keep <strong>API Access<\/strong> switched on. <strong>Reset<\/strong> makes a new key, and the old key stops working. Keep the key on your server, never in browser or app code.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-key-hd-33-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Fast2SMS API Key page with the masked Authorization Key, View and Reset buttons and the API Access switch\"><figcaption>The API Key page: View the key with an OTP, then copy it.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Allow only your server&#8217;s IP<\/h3>\n<p>Open <strong>API Security<\/strong>. Add your server&#8217;s public IP with <strong>Add IP<\/strong> and switch <strong>API Security<\/strong> on. Changing the switch needs an OTP. When it is on, only whitelisted IPs can call the API. Calls from other IPs are refused with error 414 and are listed under <strong>Latest hits by other IP<\/strong>.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/12\/api-security-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Fast2SMS API Security page with the API Security switch on, three whitelisted IPs and Latest hits by other IP\"><figcaption>API Security: only the whitelisted IPs can use your API key.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Send a test and check API Logs<\/h3>\n<p>Open <strong>API Logs<\/strong>. Every call made with your key is listed for 7 days, with the endpoint, response time, HTTP code, IP, the reply and the status Success or Failed. Click the menu on a row and choose <strong>View Details<\/strong> to see the full request and response. Calls with a wrong key are not listed.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-logs-hd-10-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Fast2SMS API Logs list with BULKV2, OTP and WhatsApp API calls, HTTP codes, IPs and Success or Failed status\"><figcaption>API Logs show each request and its reply for 7 days.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Get delivery reports on your server<\/h3>\n<p>Open <strong>Webhook<\/strong>, then <strong>SMS<\/strong>, and create a webhook with your URL. Fast2SMS posts the status of each number you send through the API to that URL.<\/p>\n<\/li>\n<\/ol>\n<h2>SMS API code in your language<\/h2>\n<p>Each guide shows working code, error handling and delivery reports:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/php-sms-api\/\">Send SMS and OTP in PHP<\/a> (cURL, no library)<\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/python-sms-api\/\">Python SMS API<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/nodejs-sms-api\/\">Node.js SMS API<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/java-sms-api\/\">Java SMS API<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/csharp-sms-api\/\">C# SMS API<\/a><\/li>\n<\/ul>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>What is an SMS API?<\/h3>\n<p>An SMS API is a link that lets your software send SMS automatically with a web request. You send the numbers and message details, and the provider delivers the SMS and returns a delivery report.<\/p>\n<h3>What does API SMS mean?<\/h3>\n<p>It means SMS sent through an API, from a website, app or CRM, instead of from a web panel. It is the same thing as an SMS API.<\/p>\n<h3>Is an SMS API free?<\/h3>\n<p>Creating a Fast2SMS account and getting the API key is free. Each SMS is charged from your wallet, because operators charge for delivery.<\/p>\n<h3>Do I need DLT registration to use an SMS API in India?<\/h3>\n<p>Yes, for SMS from your own sender ID. Operators block SMS whose header or template is not registered on DLT.<\/p>\n<h3>Can I send OTPs with an SMS API?<\/h3>\n<p>Yes. Smart OTP creates, sends and verifies the code for you on SMS or WhatsApp with fallback. You can also send your own approved DLT OTP template with route=dlt, and then your app creates and checks the code itself.<\/p>\n<h3>What is the difference between an SMS API and an SMS gateway?<\/h3>\n<p>The gateway is the whole service that talks to the operators. The API is the door your software uses to send SMS through it.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Start sending SMS from your app<\/strong><p>Create your Fast2SMS account, get your API key and send DLT SMS from any language.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/bulk-sms-api-india\/\">Bulk SMS API for India<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/what-is-sms-gateway\/\">What is an SMS gateway<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/php-sms-api\/\">Send SMS and OTP in PHP with the Fast2SMS API<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/api-sms\">Fast2SMS SMS API<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>An SMS API is a link that lets your website, app or software send SMS by itself, with one web request, instead of a person typing the message and clicking Send. API stands for Application Programming Interface: a fixed set of rules that two programs use to talk to each other. Your code sends the [&hellip;]<\/p>\n","protected":false},"featured_media":19627,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,13],"tags":[],"class_list":["post-21476","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-bulk-sms"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What Is an SMS API? How It Works in India | Fast2SMS<\/title>\n<meta name=\"description\" content=\"An SMS API lets your website or app send SMS automatically. See how an SMS API works in India, what DLT needs and a real Fast2SMS example.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is an SMS API? How It Works in India | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"An SMS API lets your website or app send SMS automatically. See how an SMS API works in India, what DLT needs and a real Fast2SMS example.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Fast2SMS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Fast2SMS\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-30T19:49:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-template-sample-code-hd-10-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fast2sms\" \/>\n<meta name=\"twitter:site\" content=\"@fast2sms\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"What is an SMS API? Meaning, how it works and an example\",\"datePublished\":\"2026-11-30T19:49:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/\"},\"wordCount\":1671,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/sms-dlt-template-sample-code-hd-10-scaled.webp\",\"articleSection\":[\"API\",\"Bulk SMS\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/\",\"name\":\"What Is an SMS API? How It Works in India | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/sms-dlt-template-sample-code-hd-10-scaled.webp\",\"datePublished\":\"2026-11-30T19:49:31+00:00\",\"description\":\"An SMS API lets your website or app send SMS automatically. See how an SMS API works in India, what DLT needs and a real Fast2SMS example.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/sms-dlt-template-sample-code-hd-10-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/sms-dlt-template-sample-code-hd-10-scaled.webp\",\"width\":2560,\"height\":1600,\"caption\":\"Sample Code popup in DLT Manager with a cURL request to dev\\\/bulkV2 using sender_id, message, route, numbers and variables_values\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/what-is-sms-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What is an SMS API? Meaning, how it works and an example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\",\"name\":\"Fast2SMS\",\"description\":\"Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"inLanguage\":\"en-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\",\"name\":\"Fast2SMS\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"caption\":\"Fast2SMS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\"},\"email\":\"support@fast2sms.com\",\"telephone\":\"+91-6262778822\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Fast2SMS\",\"https:\\\/\\\/www.instagram.com\\\/fast2sms\",\"https:\\\/\\\/x.com\\\/fast2sms\",\"https:\\\/\\\/www.youtube.com\\\/Fast2SMSofficial\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/fast2sms\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is an SMS API? How It Works in India | Fast2SMS","description":"An SMS API lets your website or app send SMS automatically. See how an SMS API works in India, what DLT needs and a real Fast2SMS example.","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:\/\/www.fast2sms.com\/help\/what-is-sms-api\/","og_locale":"en_US","og_type":"article","og_title":"What Is an SMS API? How It Works in India | Fast2SMS","og_description":"An SMS API lets your website or app send SMS automatically. See how an SMS API works in India, what DLT needs and a real Fast2SMS example.","og_url":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-30T19:49:31+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-template-sample-code-hd-10-scaled.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_creator":"@fast2sms","twitter_site":"@fast2sms","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"What is an SMS API? Meaning, how it works and an example","datePublished":"2026-11-30T19:49:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/"},"wordCount":1671,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-template-sample-code-hd-10-scaled.webp","articleSection":["API","Bulk SMS"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/","url":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/","name":"What Is an SMS API? How It Works in India | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-template-sample-code-hd-10-scaled.webp","datePublished":"2026-11-30T19:49:31+00:00","description":"An SMS API lets your website or app send SMS automatically. See how an SMS API works in India, what DLT needs and a real Fast2SMS example.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-template-sample-code-hd-10-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-template-sample-code-hd-10-scaled.webp","width":2560,"height":1600,"caption":"Sample Code popup in DLT Manager with a cURL request to dev\/bulkV2 using sender_id, message, route, numbers and variables_values"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/what-is-sms-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fast2sms.com\/help\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/www.fast2sms.com\/help\/api\/"},{"@type":"ListItem","position":3,"name":"What is an SMS API? Meaning, how it works and an example"}]},{"@type":"WebSite","@id":"https:\/\/www.fast2sms.com\/help\/#website","url":"https:\/\/www.fast2sms.com\/help\/","name":"Fast2SMS","description":"Help","publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"inLanguage":"en-IN"},{"@type":"Organization","@id":"https:\/\/www.fast2sms.com\/#organization","name":"Fast2SMS","url":"https:\/\/www.fast2sms.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.fast2sms.com\/#logo","url":"https:\/\/www.fast2sms.com\/Fast2SMS.png","contentUrl":"https:\/\/www.fast2sms.com\/Fast2SMS.png","caption":"Fast2SMS"},"image":{"@id":"https:\/\/www.fast2sms.com\/#logo"},"email":"support@fast2sms.com","telephone":"+91-6262778822","sameAs":["https:\/\/www.facebook.com\/Fast2SMS","https:\/\/www.instagram.com\/fast2sms","https:\/\/x.com\/fast2sms","https:\/\/www.youtube.com\/Fast2SMSofficial","https:\/\/www.linkedin.com\/company\/fast2sms"]}]}},"_links":{"self":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/21476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/comments?post=21476"}],"version-history":[{"count":0,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/21476\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/19627"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=21476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=21476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=21476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}