Sign-In Required Zoom Meetings

Configure your bots to join sign-in required Zoom meetings.

Zoom Web bots will emit a fatalerror indicating "Sign In Required" if they attempt to join a Zoom meeting where the host has enabled "Only Authenticated Users can Join".

Enabling this setting means that only users who are logged in to a Zoom account are permitted to join the meeting. Because the bot is not logged in by default, it will not be able to join the meeting.

To enable the bot to join these meetings, you must provide it with a Zoom ZAK token.

What is a Zoom ZAK Token and how do I get one?

A ZAK token is a access token that can be generated through the Zoom API. These tokens are short-lived, and must be regenerated frequently.

Note: any ZAK token from any Zoom user can be used to authenticate the bot in any meeting.

We recommend creating a dedicated Zoom account for the purpose of generating ZAK tokens, and using that account's ZAK tokens to authenticate all your bots. This means you don't need to retrieve the ZAK token from your user's Zoom account.

How do I provide a ZAK token to the bot?

To provide the ZAK token to the bot, you must specify the zoom.zak_url when creating the bot. The zoom.zak_url is a URL on your server which returns the ZAK token as a plain text HTTP response. Some example pseudocode:

def validate_callback_token(token) -> bool:
  """We attach a token in the query parameter of the URL we provide Recall.
  By verifying the presence and validity of this token,  we can authenticate 
  incoming requests to our callback URL."""
  pass

def retrieve_zak_token() -> str:
  """This function retrieves a Zoom ZAK token. Note that the response returned
  by calling Zoom's API is a JSON object, and we must extract the token to return a string.
  (https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/userZak)
  """
  zoom_api_response = call_zoom_api_userZak()
  return zoom_api_response['token']

# HTTP handler for https://example.com/recall/callbacks/zak
def http_handler(request):
  if not valdate_callback_token(request.query_parameters['token']):
    return HttpResponse(code=401)
  
  zak_token = retrieve_zak_token()
  return HttpResponse(body=zak_token)
  
  

πŸ“˜

Bots that are provided a ZAK token will also appear as the underlying account of the Zoom user that generated the token. This includes the avatar of the user's profile.