Authenticate a non-logged in or API user

The code on this page works with either the default UI or the custom UI.

To host or join a scheduled meeting as a non-login user, retrieve these two values from the REST API.

Beginning March 2 2026, apps joining meetings outside their account must be authorized. Authorize apps by using either ZAK or OBF tokens, or RTMS. Learn more.

See SDK Authentication for more details.

Access the Zoom API

See Using Zoom APIs to configure your setup and access the Zoom API.

Get a Zoom Access Key (ZAK) or an OnBehalf Of (OBF) token

Once you have the access to the Meeting API, send a GET request to the the https://api.zoom.us/v2/users/{userId}/token with type = "zak" to get a ZAK for individual users, or with type = "onbehalf" to get an OBF token for apps that need to join the meeting as individual users.

For more information, see Users API and SDK Authentication.

Even if the ZAK does expire, DO NOT pass or expose the ZAK token to others after retrieving it.