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
Developers Center
Help
.NET

API V2 .NET Client

TextMarks provides a .NET 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-DotNet.zip - ~344 KB)

This ZIP file contains a Visual Studio Solution file with both the API client as well as an example program demonstrating how to use it.

Documentation

To use this .NET API client, you may extract the ZIP file and then choose any of these approaches:

  • You may copy the pre-built .DLLs from the TextMarksV2APIClient-DotNet/bin/Release/ directory into your own project.
  • You may use the API client source directly in your project.
  • You may build the DLLs yourself and include these in your own project.

 

Example Code - Invite a user to join a TextMark group

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TextMarksV2APIClient_DotNet;
using Newtonsoft.Json.Linq;

// Invite a user to join a TextMark group:
TextMarksV2APIClient tmapi = new TextMarksV2APIClient();
Dictionary<string, object> msoParams = new Dictionary<string, object>();
tmapi.SetApiKey("MyAPIKEY_12345678");
msoParams.Add("tm", "MYKEYWORD");
msoParams.Add("user", "4155551212");
JObject joResp = tmapi.Call("Anybody", "invite_to_group", msoParams);
 
Service available on the following wireless networks: AT&T, Verizon Wireless, Sprint, T-Mobile, Virgin, Cricket, Alltel.
v3.11e-BETA  -  Copyright © 2008 TextMarks Inc. All rights reserved.