Hi all,
I’m working on a website for a Texas Roadhouse location, and I’m integrating Zoom meetings so customers can schedule virtual events and catering consultations directly from the site. The site uses a PHP backend that connects to the Zoom API.
I originally built this using a JWT app, but since JWT is deprecated, I’m trying to migrate everything to OAuth. After switching, my API calls to create a meeting return:
{
“code”: 124,
“message”: “Invalid access token.”
}
Details:
API endpoint: POST /users/{userId}/meetings
UserId: my email address (works in JWT version)
Token: Access token generated via OAuth app in Zoom Marketplace
Redirect URL + scopes configured: meeting:write, user:read
Backend: PHP 8.1 with cURL requests
Troubleshooting I’ve tried:
Verified that the access token is generated (I can see it in the logs).
Double-checked scopes in Zoom Marketplace.
Tested the same API request in Postman (same error).
Tried both account-level and user-level OAuth apps.
The goal is to allow users on the Texas Roadhouse site to click a button → book a consultation → automatically generate a Zoom meeting link via API.
Has anyone else run into this invalid access token issue during JWT to OAuth migration? Do I need to adjust how I’m refreshing tokens, or is there something specific to the {userId} parameter I should change?
Thanks in advance for any help!