Webinar Registration vs Meeting Registration & Scopes

I am currently working on a webinar registration form and am having issues registering users. Normally our webinar lead form makes a call to Lambda, which then makes the registration call to Zoom.

In the past this API has been https://api.zoom.us/v2/webinars/{webinarId}/registrants, but I was informed that this one was set up as a meeting. Previously we were using a “webinar” license, but this meeting is being done on a “sessions” license. I set up a call in the Lambda to https://api.zoom.us/v2/meetings/{meetingId}/registrants , but am getting a "code\":4711,\"message\":\"Invalid access token, does not contain scopes:[meeting:write, meeting:write:admin].\ — saying that I am missing the correct scopes.

get_zoom_auth_url():
    return f"https://zoom.us/oauth/token?grant_type=account_credentials&account_id={get_key(acct_id_key_identifier)}"

I am currently attempting to us the existing “zoom_app_account_id”, “zoom_app_client_id”, “zoom_app_client_secret”. Do I need new key values for this new call?

Is this something you can help me with?

Hi,
You need to ensure your access token has the necessary “meeting:write” and “meeting:write:admin” scopes.
It may be that you are using an existing account ID, client ID, and client secret, but these credentials may not have the required permissions for the endpoint you’re trying to use.
You should generate a new set of OAuth keys or update your current ones to include the necessary scopes.
Cheers,
Harsh
Fario Consulting