http api Bulk SMS (Transactional Api integration)

This facility provides a integrate application, software and websites to send dynamic SMS via the HTTP protocol. HTTPS is also supported for secure transactions using SSL encryption. The Client issues either a HTTP GET or POST request to the sangamamonline HTTP interface supplying a list of required parameters.  The HTTP-API is used for one-way messaging only. Using our SMS API, you can do much more than just send text messages. You can manage contacts, create or delete contact groups, form a short URL, view SMS balances, and view message reports. Our SMS API is the most versatile and flexible API gateways.

SangamamOnline is the best api Bulk SMS provider in Kerala, India. SangamOnline provides api Bulk SMS provider through a secure gateway and We promise to get good reach for your business promotions/Transactions. We have earned our reputation as a pioneer in the field of bulk SMS marketing. Our reasonable prices and quality services have made us number one in this sector. Try our services, we offer high quality responsive and user-friendly services. We use direct connectivity from the best telecom operators in India.

Http Api (Examples)

Http Api allows you to integrate our sms service to your own web based / stand-alone applications.

SMS Api (Using HTTP)

SMS Api allows you to integrate our sms service to your own web based / stand alone applications. It can be integrated into your website, software or mobile app.

https://sangamamonline.in/httpapi/smsapi?uname={Username}&password={Password}&sender={Sender id}&receiver={Destination numbers}&group={group Ids}&route={Route id}&msgtype={ Message type}&sms={SMS content}

Api Description

  • uname : Username of your account
  • password : Password of your account
  • sender : Sender id ( Origin )
  • receiver : Destination numbers ( Comma separated ) eg : 99XXXXXXXX,98XXXXXXXX
  • group : Group ids of created groups ( Comma separated ) eg : 12,34,56
  • route : Route you want to send SMS ( Promotional API - PA , Transaction API - TA , Senderid API - SA , International - I )
  • msgtype : Message type ( Text - 1 , Flash - 2 , Unicode - 3 )
  • sms : SMS content ( Url encoded )

All special character included content should be in urlencode format.

Error Codes

  • 101 : Invalid username/password
  • 102 : Sender not exist
  • 103 : Receiver not exist
  • 104 : Invalid route (PA,TA,SA & I)
  • 105 : Invalid message type
  • 106 : SMS content not exist
  • 107 : Transaction template mismatch
  • 108 : Low credits in the specified route
  • 109 : Account is not eligible for API
  • 110 : Promotional route will be working from 9am to 9pm only

A numeric value other than these error codes is the unique message id for the sent slot. keep this message id for delivery report.

SMS Delivery Report Api

SMS Delivery Report Api allows you to get delivery report of a slot sent via Api as XML format.

https://sangamamonline.in/httpapi/dlrapi?uname={Username}&password={Password}&smsgroupid={unique message id}

Api Description

  • uname : Username of your account
  • password : Password of your account
  • smsgroupid : Unique message id (numeric) returned by SMS Api

Give the exact message id

Error Codes

  • 101 : Invalid username/password
  • 102 : Invalid message group id

A successive api returns an XML file containing the sent destination numbers with delivery report.

Sample XML will be like

<xml>
	<Report>
		<Destination>Destination 1</Destination>
		<Message>Message 1</Message>
		<Status>Status 1</Status>
		<Timestamp>Timestamp 1</Timestamp>
	</Report>
	<Report>
		<Destination>Destination 2</Destination>
		<Message>Message 2</Message>
		<Status>Status 2</Status>
		<Timestamp>Timestamp 2</Timestamp>
	</Report>
	<Report>
		<Destination>Destination 3</Destination>
		<Message>Message 3</Message>
		<Status>Status 3</Status>
		<Timestamp>Timestamp 3</Timestamp>
	</Report>
</xml>

SMS Bulk Delivery Report Api

SMS Bulk Delivery Report Api allows you to get delivery report of sent messages in between two dates as XML format.

https://sangamamonline.in/httpapi/bulkdlrapi?uname={Username}&password={Password}&from={From date}&to={To date}

Api Description

  • uname : Username of your account
  • password : Password of your account
  • from : From date (dd-mm-yyyy) eg: 01-12-2015
  • to : To date (dd-mm-yyyy) eg: 31-12-2015

Error Codes

  • 101 : Invalid username/password
  • 102 : No data available
  • 103 : Today's Report Not Available

A successive api returns an xml format of the sent destination numbers with delivery report.

Available Credits Api

Available Credits Api allows you to get currently available credits of a given route.

https://sangamamonline.in/httpapi/credits?uname={Username}&password={Password}&route={route}

Api Description

  • uname : Username of your account
  • password : Password of your account
  • route : Promotional API - PA , Transaction API - TA , Senderid API - SA , International - I

Credits Log Api

Credits Log Api allows you to get the available credits of a route for given timestamp.

https://sangamamonline.in/httpapi/credits?uname={Username}&password={Password}&route={route}&timestamp={timestamp}

Api Description

  • uname : Username of your account
  • password : Password of your account
  • route : Promotional API - PA , Transaction API - TA , Senderid API - SA , International - I
  • timestamp : Timestamp

Login Api

Login Api allows you to login in to your account

https://sangamamonline.in/httpapi/loginapi?uname={Username}&psswd={Password}

Api Description

  • uname : Username of your account
  • psswd : Password of your account

Return Codes

  • 100 : Login success
  • 101 : Username & Password is empty
  • 102 : Invalid Username or Password

Registration request Api

Registration request Api allows you to request for an account

https://sangamamonline.in/httpapi/registrationapi?mobile={Mobile Number}&email={Email Id}&place={Place name}&query={Your query}

Api Description

  • mobile : Your Mobile number
  • email : Your Email Id
  • place : Your Place name
  • query : Your query (Not mandatory)

Return Codes

  • 100 : Registration request success
  • 101 : Invalid Mobile number
  • 102 : Invalid Email Id
  • 103 : Place field is empty

How to Encode in HTTP API SMS?

Use %0a to a new line character
Encode a new line as %0a instead of \n or <br> and user %26 instead of &

Why choose our services ?

low prices and no extra charges or hidden fees.

Choose Payment mode

UBI Bank Account Name : Sangamam Communications
Branch - Chandranagar, Palakkad
Account no:339601010035196
IFSC-Code-UBIN0533963,
MICR-Code-678026003

You can also Deposit cash / cheque in any branch of Union Bank all over the India. If you don't have any bank a/c also, you can directly deposit cash / cheque in our bank a/c.

To locate the nearest Union Bank Branch to you,
please click here.

You can send Cheque or Draft or Money Order on the name of Sangamam Communications to our Palakkad office address by post or courier.