Error in adding webinar registrant by API

Hi ,

I want to add registrants to a webinar using the API request. I’m trying to post data but I’m getting the error response:
{
“code”: 124,
“message”: “Invalid access token.”
}

Please check this and help with a solution at the earliest as we need to take registrants from our landing page.

I took the secret key from the App Market Place after building a server to server OAuth application but it’s not working.

Please let me know if I can provide any more details which is required.

Can anyone please help for solving the same?

Hi,

This may be happeining because of how your API request is structured.( maybe because of incorrectly placing the query parameters?).
You will also want to ensure that you are not using the secret key as part of the body parameters but rather correctly setting up the OAuth application and including the access token properly.

Cheers,
Harsh
Fario Consulting

Can you please confirm how to generate or get the access token for posting the API of webinar registration?

API help doc: Meetings APIs - Zoom Developers

I created an application of Server-To-Server OAuth and took token from feature page. But it’s giving the error of invalid access token.