Welcome to TextMarks Lite - free ad-supported text messaging platform. Visit our main site for ad-free service. Free trial available!

Mobilize your world
Home
Tour
Buzz
Developers Center
Help
Java

API V2 Java Client

TextMarks provides a Java library to integrate with the V2 HTTP API. This allows your apps to easily make calls into the TextMarks API. There are also other easier (less technical) ways to send and receive text messages from and to your apps without using this API.

 

Client Library

Download Source (TextMarksV2APIClient-Java-Src.zip - ~72 KB)

Documentation

Browse JavaDocs (online)

 

Example Code - Invite a user to join a TextMark group

import com.textmarks.api2client.*;

// Invite a user to join a TextMark group:
TextMarksV2APIClient tmapi = new TextMarksV2APIClient();
Map<String,Object> msoParams = new HashMap(); 
tmapi.setApiKey("MyAPIKEY_12345678");
msoParams.put("tm", "MYKEYWORD");
msoParams.put("user", "4155551212");
tmapi.call("Anybody", "invite_to_group", msoParams);
 
Service available on the following wireless networks: AT&T, Verizon Wireless, Sprint, T-Mobile, Virgin, Cricket, Alltel.
v2.68e-BETA  -  Copyright © 2008 TextMarks Inc. All rights reserved.