Alpha Feature: API Access
We've now opened up simple API access in an Alpha stage.
This allows very advanced users to pass commands to the VOIPo system to control various features on their account just like the Control By SMS feature. You can use this to write your own scripts and programs to interact with us.
Right now, we added the basic commands and it's in a simple format. We'd like to get some feedback on it and if it's a popular feature we'll likely improve it so that it's a full SOAP based API. With this version, we just wanted to give you guys that were asking for it something basic to work with.
We can pretty easily add any commands to it and would like some feedback on what you'd like to see added to it.
API Activation
To use the service, simply go to BETA - API in vPanel. There you just need to Enable it and set an API password. We recommend that this be different than your account password.
Once you've done this, you can begin passing commands.
Do Not Disturb (DND)
Action: dnd
Arguments: vmail, busy, off
Example: api.voipo.com/?username=9491230000&password=test&action=dnd&argu ments[]=busy
Failover
Action: fail
Arguments: 10DigitNumber, vmail
Example: api.voipo.com/?username=9491230000&password=test&action=fail&arg uments[]=busy
Call Forwarding
Action: forward
Arguments: 10DigitNumber, off
Example: api.voipo.com/?username=9491230000&password=test&action=fwd&argu ments[]=off
Re: Alpha Feature: API Access
The forum software keeps manipulating the example URLs so I had to take off the http:// on the front of them so it wouldn't think they were a link and truncate them.
Re: Alpha Feature: API Access
Just testing something...
Code:
http://api.voipo.com/?username=9491230000&password=test&action=fwd&arguments[]=off
Yep- works... Just use code tags... :D
Re: Alpha Feature: API Access
Quote:
Originally Posted by
chpalmer
Just testing something...
Code:
http://api.voipo.com/?username=9491230000&password=test&action=fwd&arguments[]=off
Yep- works... Just use code tags... :D
Hmmm. I swear that wasn't working earlier. :)
Re: Alpha Feature: API Access
Re: Alpha Feature: API Access
Nice. Thanks for this! The cronjobs are setup. Take that dad-in-law!
Re: Alpha Feature: API Access
Quote:
Originally Posted by
bubbanc
Take that dad-in-law!
lol! Nice...
Re: Alpha Feature: API Access
The geek factor is impressive. But I wouldn't be surprised if I am in the minority by saying, I would have preferred to see a more flexible, updated 'Forwarding' feature rather than another way to activate a Basic Forwarding feature with limited options. Ma Bell Forwarding from the seventies had greater flexibility.
Re: Alpha Feature: API Access
Quote:
Originally Posted by
voipoh
The geek factor is impressive. But I wouldn't be surprised if I am in the minority by saying, I would have preferred to see a more flexible, updated 'Forwarding' feature rather than another way to activate a Basic Forwarding feature with limited options. Ma Bell Forwarding from the seventies had greater flexibility.
As I stated on other threads, I feel a basic no answer or a busy call forward are options that would be very useful.
Re: Alpha Feature: API Access
Is anyone using this yet?
If you are, you probably have a basic idea of how it works (manipulating database entries), so you have a basic idea of what's possible.
What features would you guys want to see added to it?