GoToTraining api integration with zend php framework

This is a sample format of code for integrating GoToTraining API within a zend framework project. I have integrated this API on one of my ongoing project. That time I faced a lot of challenges because of poor documentation without examples, provided by Citrix. After tackling every challenges, I integrated this API to my project successfully. So here I’m sharing the code which helps you to integrate this API, if you want.

To integrate GoToTraining API, first we should have a Developer Account (to generate API key) and Citrix online product account (to authorize the API key using Oauth 2.0). To know more about authorization process refer here.

After successful authorization process you will get following credentials, which are needs to be stored somewhere to use later.

i) Access Token: all API calls have to be requested using this token.

ii) Refresh Token: This is used to renew the access token when it is getting expired.

iii) Organizer Key: The key of Training organizer.

iv) Account Type

v) Account Key





You can integrate other GoToTraining API methods, as per the format specified above, by changing the URI and parameter values respectively.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">