SMS API - HostMyCalls/APIAccessCodeSamples GitHub Wiki

SMS API Before sending any requests to our APIs make sure to check our authentication guide at https://github.com/HostMyCalls/APIAccessCodeSamples/wiki/OpenId-Server-Access

This API lets you send receive SMS and MMS messages, and resides at: sms.hostmycalls.com

Methods: Get,Post.

GET Gets messages sent or received by the requesting client. If a datetime type parameter is supplied, only messages inserted after that date will be returned, otherwise messages since the clients last invocation of this method will be returned (On test environments this functionality is disabled for testing purposes).

POST Sends a message to a destination number from a number supplied, if the sender number is one of the client's numbers. (/from/to/message). Accepts a json request as follows:

{ "From":"FromNumber", "To":"ToNumber", "Message":"Message" }

The response will be a simple object containing a status code and a list of errors (in the case of errors the status code will be 0 and the errors list will be populated).