Use this page to get yourself started. It covers the processes for all products except GoToAssist Corporate. If you want to use GoTo Admin API calls, the user account you use to login in step 4 must be an admin login. Admin logins are not available on Trial accounts.

This page provides an overview of the processes of:

  • Getting your accounts set up (steps 1 & 2)
  • Obtaining your first LogMeIn API access token (steps 3 through 5)
  • Using a refresh token to obtain a new access token (step 6), and
  • Making your first LogMeIn API call (step 7)

IMPORTANT: All significant values on this page such as consumer key, account ID, token IDs, etc. are intentionally abbreviated. This hopefully makes their repeated use in the procedures more clear.

 

WHERE SET and SEND RECEIVE
1. Create Client App
GoToDeveloper Center Required parameters:
App Name - Name for the client app
Description - Brief description
Product API - Product the client interacts with
Application URL - Your redirect URL

Click Create App

Consumer Key: X1234 
Consumer Secret: Y9876

2. Purchase or Trial product Account
Product account (GoToWebinar, GoToMeeting, etc.) Login: user.person@companyTwo.com
Password: xxxxx
 
3. Use External App to base64 encode
Base64 encode consumerKey:consumerSecret: X1234:Y9876

Click Submit

Base64 encoded: WDEyMzQ6WTk4NzY=
4. Validate client app and product login
Browser (Google, Firefox, etc.) https://api.getgo.com/oauth/v2/authorize?client_id=X1234=&response_type=code https://app.example.com/oauth2/callback?scope=&code=999000XXX
Product login Login: user.person@companyTwo.com; Pswd: xxxxx responseCode: 999000XXX
5. Request access token
cURL, etc.
curl -X POST \ 
https://api.getgo.com/oauth/v2/token" \ 
-H "Authorization: Basic WDEyMzQ6WTk4NzY=" \ 
-H "Accept:application/json" \ 
-H "Content-Type: application/x-www-form-urlencoded" \ 
-d "grant_type=authorization_code&code=999000XXX"
{
  "access_token":"CY8899token",
  "token_type":"Bearer",
  "expires_in":3600,
  "version":"3",
  "account_key":"36686",
  "account_type":" ",
  "email":"primo.finale@companyOne.com",
  "firstName":"Primo",
  "lastName":"Finale",
  "organizer_key":"84398",
  "refresh_token":"WUlzT6mMOS"
 }
            
6. Get new token w/ refresh token
cURL, etc.
curl -X POST \ 
"https://api.getgo.com/oauth/v2/token" \
-H "Authorization: Basic WDEyMzQ6WTk4NzY=" \
-H "Accept:application/json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=refresh_token&refresh_token=WUlzT6mMOS"
{
  "access_token":"OP2291token",
  "token_type":"Bearer",
  "expires_in":3600,
  "version":"3",
  "account_key":"36686",
  "account_type":" ",
  "email":"primo.finale@companyOne.com",
  "firstName":"Primo",
  "lastName":"Finale",
  "organizer_key":"84398",
  "refresh_token":"WUlzT6mMOS"
}
7. Send a Production Request
cURL, etc.
curl -X GET \ 
"https://api.getgo.com/G2W/rest/v2/organizers/84398/webinars?  \

fromTime=2019-10-01T00:00:00Z&toTime=2019-10-31T00:00:00Z" \
-H "Accept: application/json" \
-H "Authorization: Bearer OP2291token" \
-H "Cache-Control: no-cache" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Host: api.getgo.com"
"_embedded": {
        "webinars": [
            {
                "webinarKey": "33888",
                "webinarId": "15014",
                "organizerKey": "84398",
                "omid": "2366",
                "accountKey": "36686",
                "subject": “The Great 2020 Market“,
                "times": [
                    {
                        "startTime": "2020-01-10T09:00:00Z",
                        "endTime": "2020-01-10T10:00:00Z"
                    }
                ],
                "timeZone": "America/Los_Angeles",
                "locale": "en_US",
                "status": "NEW",
                "approvalType": "AUTOMATIC",
                "registrationUrl": "https://attendee.gotowebinar.com/register/33888",
                "impromptu": false,
                "isPasswordProtected": false,
                "recurrenceType": "single_session",
                "experienceType": "classic",
                "registrationSettingsKey": "15726"
            },
…
 \ MORE