API Integration

  • Home /
  • API Integration

Start texting in minutes with our sample codes and
comprehensive documentation

Whether it’s sending OTPs or triggering transactional alerts from your application, simply cut and
paste our readily available sample codes to integrate easily.

  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. <%
  5. apikey = "yourapikey"
  6. address = "https://api.bharatbulksms.com/send/?"
  7. message = "This is your message"
  8. message = Server.urlencode(message)
  9. numbers = "918123456789"
  10. sender = "TXTLCL"
  11. url = address & "apikey=" & apikey & "&numbers=" & numbers & "&message=" & message & "&sender=" & sender
  12. set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
  13. xmlhttp.open "POST", url, false
  14. xmlhttp.send ""
  15. msg = xmlhttp.responseText
  16. response.write(msg)
  17. set xmlhttp = nothing
  18. %>
  19.  
  20. </body>
  21. </html>

Over 100,000 developers rely on Bharat bulk SMS APIs to send and receive SMS

Robust, scalable cloud-based infrastructure

  • Inbuilt redundancy for near-zero downtime
  • Intelligent routing technology to select the best possible routes
  • Secure SMS gateway, trusted by leading banks

Cost-effective

  • Access to APIs is free forever, pay only for SMS credits
  • Automate texting from your application, website, or CRM by integrating our SMS APIs only once

Best-in-class SMS delivery

  • Direct connectivity with leading telecom operators
  • Unmatched delivery, whether it’s 1 SMS or a million

Dedicated technical support team

  • Expert technical support to help you integrate easily
  • Get help with bespoke integration to meet your specific needs

When to use this solution

Easily SMS-enable your website, application or customer relationship management platform with our REST API. We offer comprehensive documentation that is easy to access and includes code samples. Our API supports Unicode and long messages, and allows for multiple web hooks to create and customise any workflow. You can also use our API to add an attachment to your SMS.

Reliability

We offer a reliable service through our direct relationships with local and global aggregators and networks.

Connectivity

With connections to more than 800 networks worldwide, we offer extensive reach and connectivity.

Easy Integration

Our use of common API practices and our developer documentation (with code samples) makes implementing your SMS integration easy.

Detailed reporting of all sent and received SMS messages

Build scalable solutions easily

Enable Sender IDs

Design software to interact and integrate with our service

Send messages using Unicode character sets

2-way messaging both locally and internationally

Let your application do more than just send plain bulk SMS

Send bulk SMS online

  • Send personalized bulk SMS with multiple custom merge fields

Contact management

  • Create, edit and delete your contacts and contact groups

Account management

  • Easily retrieve your bulk SMS credit balances, list of all sender IDs & more on your account.

Scheduled bulk SMS campaigns

  • Specify a later time and day for your messages to be delivered

Message reporting

  • Retrieve message history including messages sent through the web portal, email to SMS or API

Reseller management

  • Retrieve all accounts under your reseller account, transfer credits between them & more

Receive SMS online

  • Retrieve a list of inboxes and get the full list of messages received in them

Messenger surveys

  • Retrieve a list of your surveys and the survey results as either JSON or XML

Manage delivery reports

  • Receive delivery receipts on a common URL or specify delivery notification URLs while sending

Getting started with Bharatbulksms APIs is easy

  • Create a Textlocal account
    Sign Up for a Textlocal account here.
  • Get your API key
    Log in and go to Settings > All documentation to get your API key.
  • Integrate your application
    Refer our documentation to easily integrate your application. You can use 10 free credits to send test SMS via API. Simply buy more credits to continue sending SMS. See Pricing.
  • Convert account (optional)
    Your Textlocal account is promotional by default. Convert it to a service SMS or transactional SMS route by simply sending an email to contact@bharatbulksms.com.

Frequently Asked Questions

What is bulk SMS? How do businesses use bulk SMS services?

‘Bulk SMS’ or ‘bulk messaging’ refers to businesses sending SMS to one or more recipients via bulk SMS service providers such as BharatBulkSMS. Bulk SMS can scale up to millions of recipients in the case of informational or promotional broadcasts. Alternatively, bulk SMS can also mean individual SMS sent to customers upon an action e.g. receiving an alert on credit card transaction. Both these activities can be easily carried out from bulk SMS service providers as they allow businesses to create, schedule, send and track bulk SMS campaigns.

Bulk SMS is used by SMBs, global enterprises, developers, educational institutes, NGOs and government agencies for product promotions, informational communications, transactional alerts, order updates, reminders, feedback and more. Check out how bulk SMS use cases for different industry verticals.

Why should businesses use bulk SMS?

In today’s mobile world, SMS beats all the other channels hands down with 97% open rates (vs 10%-30% open rates for email and social media channels) and ten times the response rate. By embedding actionable links within the message, bulk SMS can even help improve conversion rates across the customer lifecycle – acquisition, engagement and retention. Check out why you should include bulk SMS in your mobile strategy.

What is the difference between Promotional, Service and Transactional SMS?

TRAI has notified “The Telecom Commercial Communication Customer Preference Regulations, 2010” classifying text messages as per the intent or nature of content within the text messages. Here is an easy summary:

Promotional SMS Vs Service SMS Vs Transactional SMS

  • Promotional SMS is used to send offers, discounts or promotions to new and existing customers. The messages may or may not be solicited by the recipients.
  • Service Implicit SMS is used to send OTPs, informational messages, booking and order alerts to your registered customers. These should not be intended for marketing.
  • Service Explicit SMS is used to send offers, discounts, or updates regarding services to existing customers.
  • Transactional SMS can only be used by Banks to send OTPs and alerts.
  • Promotional messages will be delivered to recipients after preference and consent scrubbing.
  • Service Implicit SMS will be delivered to all recipients, irrespective of their consent preference.
  • Service Explicit SMS will be delivered to customers who have provided explicit consent to receive SMS from your business.
  • Transactional SMS will be delivered to all recipients, irrespective of their consent preference.
  • Promotional SMS can be sent only between 10 AM and 9 PM
  • Service Implicit SMS can be sent 24x7 with no time restriction.
  • Service Explicit SMS can be sent 24x7 without any time restriction.
  • Transactional SMS can be sent 24x7 with no time restriction.
  • Promotional SMS will be delivered with a 6-digit numeric Header approved for your business in DLT platforms.
  • Service Implicit SMS can be sent via 6-character alpha Header approved for your business in DLT platforms.
  • Service Explicit SMS can be sent via 6-character alpha Header approved for your business in DLT platforms.
  • Transactional SMS can be sent via 6-character alpha character Header corresponding to the Bank’s name.

How much does bulk SMS cost?

Our bulk SMS service and software are free to use, you simply pay for the texts that you send. You can buy BharatBulkSMS bulk SMS credits online and use these credits to send both promotional and transactional SMS (1 SMS credit = 1 single-part SMS of 160 characters). Check out our bulk SMS pricing.

Whatever your business SMS needs, BharatBulkSMS helps you maximize ROI with its multi-award-winning features, direct telecom partnerships and robust technology backend. Please watch out for any bulk SMS service provider offering insanely low prices as they generally come with low-quality delivery and fake delivery reports. Easily send SMS with our easy-to-use web SMS portal and plugins. For sales enquiry, please call us on +91-7208417941 or email us at sales@BharatBulkSMS.in, and we will get back to you.

What makes BharatBulkSMS India’s No. 1 bulk SMS service provider?

BharatBulkSMS offers easy, powerful & self–serve messaging platform which makes it extremely convenient to upload & maintain contacts, compose media-rich SMS, and send smarter bulk SMS. BharatBulkSMS also provides flexible and scalable free SMS APIs to integrate SMS with any application/CRM. Our direct integration with multiple telecom operators and smart SMS gateway technology ensure best-in-class delivery for your bulk SMS campaigns. BharatBulkSMS is the highest rated bulk SMS service provider, rated 4.8/5.0 on Trustpilot. Here are a few more reasons why SMEs & global enterprises love BharatBulkSMS.

How to send bulk SMS online?

Follow the below steps to send bulk SMS online using BharatBulkSMS:

  • Sign up for a BharatBulkSMS account
  • Buy SMS credits
  • Add or upload contacts
  • Compose your SMS in English or popular regional languages.
  • Easily enrich your campaigns – personalize with merge fields, insert short links, attach files, send surveys and more! Schedule or send the message
  • Track real-time delivery reports and advanced campaign click reports

How to receive SMS online?

Using an inbound long code (10-digit numbers), missed call number, or dual VMNS, you can receive SMS online in India from your customers. You can purchase either dedicated long codes or keywords on shared long codes to set up your SMS address and receive replies. It’s free for you to receive messages and only costs the customer their standard network cost. All messages will appear in your BharatBulkSMS account, so simply log in and view at your leisure. You can also choose to automatically forward all inbound messages to you via email for free.