Google Voice API

April 20, 2009 – 9:42 am

Thanks to the post in http://posttopic.com/topic/google-voice-add-on-development it should be easy to develop applications that use Google Voice platform. The API is a simple REST API that POSTs requests to the Google Voice portal:

Placing Calls:
POST /voice/call/connect/ outgoingNumber=[number to call]&forwardingNumber=[forwarding number]&subscriberNumber=undefined&remember=0&_rnr_se=[pull from page]

Canceling Calls:
POST /voice/call/cancel/ outgoingNumber=undefined&forwardingNumber=undefined&cancelType=C2C&_rnr_se=[pull from page]

Sending an SMS:
POST /voice/sms/send/ id=&phoneNumber=[number to text]&text=[URL Encoded message]&_rnr_se=[pull from page]

Inbox XML:
https://www.google.com/voice/inbox/recent/inbox/

Starred Calls XML:
https://www.google.com/voice/inbox/recent/starred/

All Calls XML:
https://www.google.com/voice/inbox/recent/all/

Spam XML:
https://www.google.com/voice/inbox/recent/spam/

Trash XML:
https://www.google.com/voice/inbox/recent/trash/

Voicemail XML:
https://www.google.com/voice/inbox/recent/voicemail/

SMS XML:
https://www.google.com/voice/inbox/recent/sms/

Recorded Calls XML:
https://www.google.com/voice/inbox/recent/recorded/

Placed Calls XML:
https://www.google.com/voice/inbox/recent/placed/

Received Calls XML:
https://www.google.com/voice/inbox/recent/received/

Missed Calls XML:
https://www.google.com/voice/inbox/recent/missed/

No TweetBacks yet. (Be the first to Tweet this post)
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • TwitThis
  1. 5 Responses to “Google Voice API”

  2. When I post to the SMS url I get the following error: HTTP Method POST is not supported by this URL. Error 405.
    I’m calling this from Outlook VBA. I authenticate, then I put that auth in a Authentication header then another header that is “Content-type”, “application/atom+xml”
    Any ideas what I might be doing wrong?

    By Randy on Sep 10, 2009

  3. What do you use to authenticate? What cookie do you keep?
    The https://www.google.com/voice/inbox/recent/sms/ provides read-only account information on SMS.

    You should post to:
    POST https://www.google.com/voice/sms/send/

    By dbeilis on Sep 11, 2009

  4. Can anyone please give me example how can i send sms using the above mentioned Post link

    By Mahendar on Nov 3, 2009

  5. Can you please provide an example how to use these urls in code… that would be great help for many of us

    Thanking you in anticipation

    By Waqar Ahmad on Nov 11, 2009

  1. 1 Trackback(s)

  2. Sep 28, 2009: Ryan Byrd’s Ramblings » Wedding Tech

Post a Comment