I’ve read the articles I could find on this, and none of them appear to apply to my issue. I’m testing the workflow in Postman before doing any actual development work. I’ve got the following endpoints working fine:
- Authentication for JWT
- Create a new meeting
- List upcoming meetings
- Fetch meeting details
- Update meeting details
What’s not working for me is adding a registrant to a meeting, which always gives me a 401 error {“code”:124,”message”:”invalid access token”}.
For the record, manual registration works fine, both through the registration link and via csv import. I’ve also created this on multiple test meetings, some created in the Zoom webUI and others via API call, all give the exact same result.
When I call for JWT, in addition to “access_token” I do get the following:
"token_type": "bearer",
"expires_in": 3600,
"scope": "user:read:list_users:admin user:read:user:admin meeting:read:list_meetings:admin meeting:write:meeting:admin meeting:read:meeting:admin meeting:update:meeting:admin meeting:read:list_registrants:admin meeting:write:registrant:admin meeting:write:batch_registrants:admin meeting:read:registrant:admin meeting:update:registrant_status:admin meeting:read:livestream:admin meeting:read:list_polls:admin meeting:read:poll:admin meeting:read:invitation:admin meeting:write:invite_links:admin meeting:read:past_meeting:admin meeting:read:list_past_instances:admin meeting:read:list_past_participants:admin meeting:read:list_poll_results:admin meeting:read:participant:admin meeting:read:participant_feedback:admin meeting:read:participant_callout:admin meeting:read:alert:admin meeting:read:participant_sharing:admin meeting:read:device:admin meeting:read:risk_alert:admin meeting:read:chat_message:admin meeting:read:list_upcoming_meetings:admin meeting:read:past_qa:admin meeting:read:token:admin meeting:read:ai_companion:admin",
"api_url": "https://api-us.zoom.us"
All my calls use the authentication flow in Postman to retrieve the token from a variable set by the auth call. So the registration call is using the exact same token as the others, so I know there is nothing wrong with it. After the registration fails, I try https://api.zoom.us/v2/meetings/{{MeetingID}} just to confirm that the token is still good.
Here is a curl export from the Postman call for registrations
curl --location 'https://api.zoom.us/v2/meetings/83927864687/registrants' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "Test",
"last_name": "User",
"email": "testuser@example.com"
}'
I’m on a Zoom Workspace Pro plan. Does anyone have any ideas where I’m going wrong or what is going on? BTW, I tried to open a ticket with support, who just responded, “Kindly buzz off and post here.”
