0

SMS Gateway HTTP RestAPI Integration

SMS Enable Your Apps

Using RestAPI it's easy to add SMS functionalities to your website (online store, presentation website, intranet) or desktop app (ERP, CRM, etc).

Following Best Practices

The ElementarySMS API is built on HTTP, is RESTful and it:

  • Uses predictable, resource-oriented URLs
  • Uses built-in HTTP capabilities for passing parameters and authentication
  • Uses standard format for Date and Time (Unix Timestamp)
  • Responds with standard HTTP response codes to indicate errors
  • Returns JSON

Get integrated quickly

Use the programming language of your choice: PHP, Java, ASP / ASP, Perl, Go or anything else. It takes a few minutes to get it running.

Sample curl call for adding a message:

curl --user api-user:D9XX665533FG0 \
-H "Content-Type: application/json" \
-X POST -d '{
	"number": "+40723238823",
	"message": "This is a message sent through \n
ElementarySMS API.",
	"schedule_at": 1442390388
}' \
http://elementarysms.example.com/api/message/add

And here is the RestAPI response:

{
	"status" : "success",
	"uuid": "a15cc1a2-598f-11e5-b604-2a042924705f"
}
Always up-to-date! Complete and up-to-date RestAPI documentation is available online, at http://api.elementarysms.com
Cookies help us deliver better services. By using our Site, you agree to our cookies policy.