Forums/Community/Zendesk API

Answered

API usage through PHP and CUrl

Alexander Kludt
asked this on July 02, 2009 10:41

Hi guys,

I want to write a small plugin that makes it possible to register joomla users automatically in our zendesk account. Now before I start I wanted to ask if there is anybody that has a small example of using the API with curl and php (I wouldn't mind writing it by myself, but inventing the wheel twice is not my intention). Here is nothing in that forum, on the homepage only the command line version is explained - I think this could be an interesting plugin I would be willing to contribute to the community. Just give me a small php sample using the POST data in curl and I do the rest.

We want integrate most of the zendesk features into joomla so this is a good starting point I think, and joomla is a widely used system missing a good helpdesk software (no i do not want to use rstickets or anything else, we tried it - it sucks, I love my zendesk).

best regards and thanks for the help

Alexander Kludt

Aggrosoft it intelligence

 

Comments

User photo
Jossi Fresco

I would be very interested in such plugin as well

July 12, 2009 07:12
User photo
Christian Pedersen
Zendesk Support

Hey Alexander,

That sounds very nice! We'd definitely like to see that in the community. I don't think we have a PHP code sample the adds users, but you should be able to stitch it together from the following:

Information on how to add users using the API: http://www.zendesk.com/api/users

Information about using curl with the Zendesk API: http://www.zendesk.com/api/rest_introduction

PHP sample for the forum, that creates a ticket (should be easily altered to create users): https://support.zendesk.com/forums/3199/entries/16504 - insted of the XML shown in line 4, use something like:

<user> <email>aljohson@yourcompany.dk</email> <name>Al Johnson</name> <roles>0</roles> </user>

Also, you might be interested in the Zendesk API Wrapper for PHP (courtesy of Brian Hartvigsen), which would make it even easier: https://support.zendesk.com/forums/3199/entries/30891

Cheers

Christian

July 12, 2009 08:18
User photo
sudhakar

Looks like some one has done already for drupal.It may be a good starting point.

 

http://drupal.org/project/zendesk

 

Regards

Sudhakar

November 27, 2009 15:29
User photo
Tim Hennings

Any progress on the Joomla plug-in? Any showstopper issues?

April 07, 2010 15:18
User photo
Vidyadayini Talapady
equalis

Is it possible to create the user if he did not exist and update the user if he(his emailid) existed?

If so, how do we do that?

September 08, 2010 14:09
User photo
Mmajoris
panopto

This would also be extremely helpful.  I have downloaded the PHP used in the Drupal one and can most likely figure out a way to port it to Joomla but would rather not re-invent the wheel if someone has already done this.  Any help or input would be greatly appreciated.

January 17, 2011 14:20
User photo
Chris Rault

This post seems to have been abandoned. Anyone have any updates on this?

April 21, 2011 05:41
User photo
Gregg Barash
myndbendsupport
Check Answer

Hi,


We were able to build a similar solution for one of our clients.  Please contact us if you are interested in this service.

http://www.myndbend.com/contact-us

Thank you

August 02, 2011 08:25