Custom Search

HTTP Requests for Phone calls and SMS

By Chad Smith

1. Logging in:
Google's ClientLogin API
POST /accounts/ClientLogin accountType=GOOGLE&Email=[google account]&Passwd=[google password]&service=grandcentral&source=[your app name]
This will return an error or set of authorization tokens. Save the Auth token and send it back with each request.

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

3. Phone Types:
1) Home
2) Mobile
3) Work
7) Gizmo

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

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

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

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

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

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

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

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

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

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

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

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

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

17. XML Pagination:
?page=p2
?page=p3
etc..

18. Downloading a Voice Message:
https://www.google.com/voice/media/send_voicemail/[message id]

19. Deleting a Voice Message:
POST /voice/inbox/deleteMessages/ messages=[message id]&trash=1&_rnr_se=[pull from page]

20. Mark a message as read:
POST /voice/inbox/mark/ messages=[message id]&read=1&_rnr_se=[pull from page]

21. Mark a message as unread:
POST /voice/inbox/mark/ messages=[message id]&read=0&_rnr_se=[pull from page]

22. Voicemail Transcript Timing:
https://www.google.com/voice/media/transcriptWords?id=[message id]

1. Logging in:
Google's ClientLogin API
POST /accounts/ClientLogin accountType=GOOGLE&Email=[google account]&Passwd=[google password]&service=grandcentral&source=[your app name]
This will return an error or set of authorization tokens. Save the Auth token and send it back with each request.

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

3. Phone Types:
1) Home
2) Mobile
3) Work
7) Gizmo

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

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

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

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

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

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

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

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

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

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

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

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

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

17. XML Pagination:
?page=p2
?page=p3
etc..

18. Downloading a Voice Message:
https://www.google.com/voice/media/send_voicemail/[message id]

19. Deleting a Voice Message:
POST /voice/inbox/deleteMessages/ messages=[message id]&trash=1&_rnr_se=[pull from page]

20. Mark a message as read:
POST /voice/inbox/mark/ messages=[message id]&read=1&_rnr_se=[pull from page]

21. Mark a message as unread:
POST /voice/inbox/mark/ messages=[message id]&read=0&_rnr_se=[pull from page]

22. Voicemail Transcript Timing:
https://www.google.com/voice/media/transcriptWords?id=[message id]

Googlevoice.org is a news & article portal powered by Moonrank USA. **Googlevoice.org is not sponsored by or affiliated with Google.