Postman is a Google product that lets you maintain and run collections of API requests. We have created API collections for most LogMeIn products and most of the products on this API site. 

IMPORTANT: The Postman collections are NOT SUPPORTED. They are provided for your experimentation and use.

IMPORTANT: The Postman files are occasionally updated. Please download if your versions are older than the last update.

Quickstart

If you are already using Postman and are familiar with the product and its use, all you need to do to get started is click on any of these links to automatically install the collections you want.

Last update: May 24, 2018

The following sections are detailed instructions that will get you through your first successful call to create a meeting, webinar or training.

Install Postman

  1. Follow the directions at getpostman.com to install Postman.

  2. If you have not already done so, install the collection(s) you want from the list above.

Create or update a developer app

If you have not already done so, create an application for the product you want to use. If you have an app for the product, you will need to modify the Application URL for Postman use.

  1. Follow the instructions at How to create a developer app. The application (e.g., GoToWebinar) must match the Collection.
  2. Set the Application URL to: https://www.getpostman.com/oauth2/callback

From the application, you will need the Consumer Key and Consumer Secret.

Get a new access token

Use the steps detailed in How to Get an Access Token and Organizer Key. The steps are summarized here:

  1. In a browser, send the following call with your Consumer Key from the previous step replacing {consumerKey}: 
    https://api.getgo.com/oauth/v2/authorize?response_type=code&client_id={consumerKey}
  2. A product window displays. Click 'Allow' to give permission in your application account (for example GoToMeeting) for API calls.
  3. You will get a response in the URL line. It looks like the following. Copy the responseCode (in this example, b93b51ef736acf25cf789b59dff87cas) at the end: 
    https://app.getpostman.com/oauth2/callback?scope=&code=b93b51ef736acf25cf789b59dff87cas
  4. In Postman, create a POST call as follows:

    Postman POST call

    Key Value
    Call type POST
    URL https://api.getgo.com/oauth/v2/token
    Headers tab  
    Content-Type application/x-www-form-urlencoded
    Accept application/json
    Authorization Basic {encoded consumerKey:consumerSecret}
    Body tab  
    grant_type authorization_code
    code {response code}
  5. Click Send. You should receive the required data: 
    {
     "access_token":"RlUe11faKeyCWxZToK3nk0uTKAL",
     "expires_in":"3600",
     "refresh_token":"d1cp20yB3hrFAKeTokenTr49EZ34kTvNK",
     "organizer_key":"8439885694023999999",
     "account_key":"9999982253621659654",
     "account_type":"",
     "firstName":"Mahar",
     "lastName":"Singh",
     "email":"mahar.singh@singhSong.com",
     "platform":"GLOBAL",
     "version":"3"
    }

Save your token for a call

  1. Open any call from the collection – for example, Get Organizer.
  2. Click the Authorization tab under the call URL and select OAuth 2.0 from the Type menu.
  3. Paste the new access token into the Access Token field:

 

  1. Click Send to test the token. In the Body section of the Postman window, you should see Status: 200 OK. The API body for a GET call should show the retrieved data. (You may need to run a POST call to create data first).

  1. Choose Save or press Ctrl-S to save the call including the new token for future use.

Make any other changes necessary to the call

Most calls also require an Organizer ID, or if you are sending a POST call, the body of the call must be edited before you send the call.

  1. Get the organizer key from Step 5 under Get a New Access Token.
  2. Replace {organizerKey} in the API URL with the organizer_key value from the token response.
    Other calls will need other data in the URL, for example a meeting ID. Run the appropriate calls (e.g., Get Meetings) to obtain the data values.
  3. Open the Body tab and modify the contents for the event you want to create.

 

     4. Click Send to make the call.

If the call is unsuccessful, verify all the components of the call and try again.