cancel
Showing results for 
Search instead for 
Did you mean: 
ltctech
New Member

GoToWebinar API Support

Hi,

 

It seems that the Access Token that's returned by the GoToWebinar API has increased from 28 chars to  909 chars sometime around 1AM PDT. It caused our systems to error out as it overflowed the database colum.

 

I have expanded the column in our database and it's now working again but why the sudden change? Do you really need an Access Token to be that long, especially one that expires within an hour? Ironically enough the Refresh Token that's valid for a month is still 32 chars.

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
GlennD
GoTo Manager

Re: GoToWebinar API Support

Hi @ltctech 

 

For help with our API please reference this Help FAQ: https://developer.goto.com/support 

 

We do not provide support for the API here in the community.

 

Thanks!

 

 

Glenn is a member of the GoTo Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!.

Free new user and admin training

View solution in original post

29 REPLIES 29
sannn1
New Member

Adding custom fields for Webinar Event via API

Hello,

I am trying to create a webinar event with API call https://goto-developer.logmeininc.com/content/gotowebinar-api-reference-v2#/Webinars/createWebinar

We want to add few additional fields for the event for internal mesuarment purposes, such as 'Event level', 'Pricing type' etc. But I couldn't find any way to add such custom fields to the event itself while making API create call. Is it possible to add custom fields to event and if yes how should I add/upate via API?

 

Also, the events created will be listed on a public website but the API call /Webinars/getWebinars doesn't provide Logo and Featured image parameters set in a event. Is there any different API call for that?

How should I get event logo, featured image along with custom fields above mentioned?

 

Thanks

GlennD
GoTo Manager

Re: GoToWebinar API Support

Hi @ltctech 

 

For help with our API please reference this Help FAQ: https://developer.goto.com/support 

 

We do not provide support for the API here in the community.

 

Thanks!

 

 

Glenn is a member of the GoTo Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!.

Free new user and admin training
GokulHegde
New Member

Problem in refresh token

Hi,

 

I am facing a problem in refresh token.

I logged out from my main account and I was unable to use to the refresh token it was only 2 days.

I checked your document in https://goto-developer.logmeininc.com/how-get-access-token-and-organizer-key


I checked the response data in the above URL it said this “Refresh token identifier, valid for 30 days, or until product logout”.

 

Does this mean I need generate new response_key from OAuth2 using web browser.

Lorenzo Masotti
New Member

GoTo Webinar Create Registrant issue

In the last few days I noticed that when I use the Create Registrant API command the API return me the follow message

{
    "asset"true,
    "status""APPROVED"
}
 
and not
 

{

"registrantKey": 0,

"joinUrl": "https://......"

}

To retrieve the registrantKey and the joinUrl I need to retrieve all the registrants present in the webinar with Get Registrants command.

 

Is this a temporary issue or the developer team changed the Create Registrant API reponse ?

 

 

be-pgaurav9
New Contributor

How to fetch the recording asset key of a simulive webinar session?

Earlier Get Webinar API was providing a recordingAssetKey for each SIMULIVE webinar in response. Now, after the new API updates, the response doesn't have recordingAssetKey

Is there any way, other than Get Recording Assets  API, which provides associated reecordingAssetKey of SIMULIVE event?

AshC
Retired GoTo Contributor

Re: How to fetch the recording asset key of a simulive webinar session?

@be-pgaurav9  All developer support requests must use the template located on the developer site you referenced:  https://developer.goto.com/support

 

Thank you.


Ash is a member of the LastPass Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!
rhondachurchill
New Contributor

Gotowebinar webhook creation 400 bad request Invalid callbackUrl

I'm trying to create a GotoWebinar webhook but I'm getting 400 bad requests each time

this is my callBackUrl function

Route::get('g2w/webhook', function(Request $request) {
return response()->json([
'success'=>true
],200);
});
this is my post webhook creation request to https://api.getgo.com/G2W/rest/v2/webhooks

[
{
"callbackUrl":"https://website.com/g2w/webhook/",
"eventName":"webinar.created",
"eventVersion":"1.0.0",
"product":"g2w"
}
]
and always I get this error

{
"timestamp": 1609341614915,
"status": 400,
"error": "Bad Request",
"exception": "com.logmein.webhooks.exceptions.InvalidRequestException",
"message": "Invalid callbackUrl. callbackUrl not returning 200 OK as response. Please retry after sometime",
"path": "/v1/webhooks"
}

GotoWebinar webhooks documentation

Slimpaul
New Contributor

Elemental questions about the OAUTH API

Hi,

I just started to work with the gotoWebinar API and just ran into some issues/problems.

Beside the various errors I got trying to authenticate via an access token (already made a support request) I asked myself if I just missunderstand the functionality of the API or I just need some advice.

 

What I plan is that I simply subscribe users to a webinar via a PHP script on my website.

So I started by creating the developer account, created an client and then starten using this guide and postman to get an access token.

The  "Obtaining an authorization code" works fine but i got stuck on the "Obtain an access token" part and after fiddeling around for some hours I just asked myself "Is this even possible what I try"? 

Because to make an API call I need a Access token .. to get an access token I need a authorization code. But the authorization code can only be obtained by call the URL with the clientId and the recirectUri and then log in and accept the required stuff.

But I want to make this calls via PHP,... first I thought "ok I just create the authorization code once and then use it in my php code" but in the documentation is written

 

You can now send the authorization code in exchange for an access token. Each authoization code can only be exchanged once. Any subsequent attempts will result in an error.

 

So I can't use it over and over again to get a new access token to make API calls. So how did this work?

my current state is that I make some calls via postman which leads to errors like

 

 
{
    "error": "invalid_request",
    "error_description": "Required parameter(s) missing or wrong."
}
 
Which are not really clear what is wrong or what is missing.
I mean I added everthing the documentation requested. 
grant_type : authorization_code
code: the auth code which is generated by the first link
Basic Auth with username (client_id) and password (client_secret)
 
Maybe someone can bring some light into my dark 🙂
 
AshC
Retired GoTo Contributor

Re: Elemental questions about the OAUTH API

Hi @Slimpaul

For API related inquiries you'll want to use the support template / process available for developers on the following site:  https://developer.goto.com/support


Ash is a member of the LastPass Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!