IntroductionThe btexty API exposes some of btexty functionalities via a REST interface. Third-party applications can invoke btexty method via HTTP requests to btexty servers using GET and POST methods. The bexty API methods can return XML or JSON responses, as specified in the method URL (format below). AuthenticationAll btexty API methods require authentication. All actions and responses will be relative to the authenticated user. The btexty API uses the HTTP Basic Authentication. In order to access API methods, one needs an active btexty account. HTTP requests are authenticated using the mobile phone number as username and the PIN code as password. Send a text messageAllows the authenticated user to send a message to one or more recipients. The authenticated user will be the sender of the message. Recipients are identified by their mobile numbers.
URL: http://www.btexty.com/api/ format /send
Get the number of unread messagesGets the number of unread messages for the authenticated user. It is useful to implement notifications or push services. URL: http://www.btexty.com/api/ format /inbox/unread Get messagesReturns all messages sent or received by the authenticated user. Returns the page-th page containing number messages, starting from most recent messages. URL: http://www.btexty.com/api/ format /inbox/index
|