Skip to content
This repository

Twilio .NET Helper Libraries Documentation

Twilio.Api - REST API Wrapper
Twilio.TwiML - TwiML generator and request validation (works with ASP.NET WebForms, MVC and Web Pages)
Twilio.Mvc - ASP.NET MVC helpers (TwilioController, ValidateRequestAttribute, TwiMLResult)
Twilio.WebMatrix - WebMatrix/ASP.NET Web Pages helpers for sending SMS and initiating phone calls (coming soon)
Twilio.Client.Capability - Capability token generator for Twilio Client JavaScript SDK

Migration Guide

Migrating from original twilio/twilio-csharp (version 2.1 and below)

Moving from version 2.1 or below to 3.0 will require changes to your existing code. The library now centers around a TwilioRestClient class from which all operations you can make against the API are rooted. Refer to the Twilio.Api REST API wrapper documentation for the list of available methods.

Migrating from johnsheehan/TwilioApi

This library is derived from johnsheehan/TwilioApi. Minimal changes should be required to your code in order to use this version. The most notable change is the renaming of TwilioClient to TwilioRestClient. In addition to the REST API wrapper, this new version also includes TwiML generation and ASP.NET MVC helpers.

For help with any of these libraries, please feel free to email us at help@twilio.com

Something went wrong with that request. Please try again.