Skip to content

Instantly share code, notes, and snippets.

@kevinburke
Created December 2, 2012 02:33
Show Gist options
  • Save kevinburke/4186664 to your computer and use it in GitHub Desktop.
Save kevinburke/4186664 to your computer and use it in GitHub Desktop.
using System;
using Twilio;
class Example
{
static void Main(string[] args)
{
// Find your Account Sid and Auth Token at twilio.com/user/account
string AccountSid = "AC58f1e8f2b1c6b88ca90a012a4be0c279";
string AuthToken = "456bef";
var twilio = new TwilioRestClient(AccountSid, AuthToken);
var numbers = twilio.ListIncomingPhoneNumbers("+19252717005", "kevin", null, 3);
foreach (var number in numbers.IncomingPhoneNumbers)
{
Console.WriteLine(number.VoiceUrl);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment