This is going to be an ongoing project to explore each api function and how to use it over a period of time. First I will start with the basics. Lets create an API User
Login to the Administration Page, click Users > Add A New User
Hit Submit
Scroll down to the bottom of that user and change the API settings according to your needs
After you hit submit here, you have now created the API user for whichever API process you are going to be using.
Below is an example of what link to send your lead to
https://yourdomain.com/vicidial/non_agent_api.php?user=apiuserid&pass=apipass&source=SourceName&list_id=33333&function=add_lead&first_name=john&last_name=legend&phone_number=3057777777
This can then be used for a form to supply live leads. Below is an example I have created in WordPress.
Then this code below is on a regular wordpress page
And then the end result looks like this:
This is just a simple form to submit data into vicidial and have them instantly added into the queue to be dialed if you have that list active and agents ready to take the call. If you have any questions about this, hit me up on Skype: live:carpenox_3
This function is pretty easy to implement and is being used to give access to company that is being paid for live transfers and would like a report with live stats updates instead of having to run a report through vicidial
https://cyburityllc.com/vicidial/non_agent_api.php?source=LiveTransfers&user=apiuserid&pass=apipass&function=call_dispo_report&statuses=SALE-XFER&ingroups=LiveTransfers&query_date=2020-01-01&end_date=2021-01-08&status_breakdown=1&show_percentages=1
Once someone calls this API function, it reports back like this:
This can then be used “as is” or it can be brought into a CRM or live reports screen for the business sending over the live transfers.
Here is an example structure: https://cyburityllc.com/vicidial/non_agent_api.php?source=test&user=apiuserid&pass=apipass&function=campaigns_list
And below is an example output:
TopCare|Top Care – Main|Y|TopCare|RATIO|9|DOWN TIMEZONE|CALLBK SALE NP NI N DNC DC B A NEW
This will only output the campaigns for the permission levels of the APi user’s, user group.
Hopefully this helps. Required version number for this API: 2.14
How to - Fix Apache not starting on ViciBox There is a new issue with…
How to - Use the full functionality of the ViciDial installer by carpenox Vicidial administrators, take note: the Carpenox Auto Installer is about to change the game. This tool transforms the usually complex setup of Vicidial into a smooth, hassle-free experience. Let…
How to - Decrease SDP(short duration percent) in ViciDial There is a new feature in…
August 2024 VICIdial Security Update Please read this carefully as it contains important information regarding…
50% off by joining our discord! Unlock 50% Off Any Item in Our Store by…
Empower Your Business with a White Labeled Dialer Solution from CyburDial In today's rapidly evolving…
This website uses cookies.
View Comments
Hello . I have some campaigns and i want to fetch those and show it in the UI , through the vicidial Non Agent API url . But when i try to hit the point , it throws me 'Error : No Function Specified'. Please Help
you must choose a function of the API, such as "add lead" or the such which can be found at http://www.vicidial.org/docs/AGENT_API.txt
Yes.I am making the request for getting all the campaigns list as :-
http://server/vicidial/non_agent_api.ph ... &pass=1234&source=test&function=campaigns_list
, where server is my server IP , user is my User and pass is the password that i have set.
=> The user level is set to 9, so that it will have the access for campaigns and all.
But Still getting the same error as "Error : No Function Specified".
One more question was that , what is my source . I mean as i can see you have passed the source in the API URL as 'LiveTransfers' . So , how can i determine what my source is ?
The source is what you specify, LiveTransfers in my example is an ingroup, nut you can specify a DID, a contact, a user, a user group, you can really name the source anything you want....
Thank you so much . I understand this now
no problem, glad to help. Any features you would like to see examples of, just ask here and I will add it to this post
Hi Nox,
I have an script to insert lead info for 3rd party for whom we are making calls. This API call returns an reference no which i would lkie to use and update the lead vendor code once they lick submit and return the reference. Would you please show and example how to do that?
Hey nick, your question is hard to understand what exactly you are trying to do. Can you join our skype channel please to clarify what you need to have done? https://join.skype.com/ujkQ7i5lV78O