Create a User with the Zoom API and assign the Pending User to a User Group

Create a User with the Zoom API and assign the Create a User to a User Group. Is it possible to Create a User and Assign the Pending User to a group with the API endpoints?

When we use the Zoom API to Create a User, then we are making a call to add the User to a User Group. When the User confirms the invite, the User is not placed into the User Group. From the Add Group Members we receive a 201 so it looks good, but does not happen or show in the GUI.

The Response we receive from Zoom is in the yellow box:

As you can see the ids is empty.

Which App Type (OAuth / Chatbot / JWT / Webhook)?

Which Endpoint/s?

How To Reproduce (If applicable)
Steps to reproduce the behavior:
Add Group Member Payload


Hey @besteman,

Once the user confirms their email, they should show up in the group. :slight_smile:



Here is the code:

from dotenv import load_dotenv, find_dotenv
from time import time
import json
import jwt
import requests
import os


def generate_token():
    token = jwt.encode(
        # Create a payload of the token containing API Key & exp time
        {"iss": os.getenv('api_key'), "exp": time() + 5000},
        # Secret used to generate token signature
        # Specify the hashing alg
        # Converts token to utf-8

    return token

jwt_token = generate_token()

print(time() + 5000)

headers = {
'authorization': f"Bearer {jwt_token}",
'content-type': "application/json"

payload = {
  'action': 'create',
  "user_info": {
    "email": "",
    "type": 1,
    "first_name": "Justin",
    "last_name": "Test"

request ="", headers=headers, json=payload)


payload_group = {
  "members": [
      "email": ""

request_group ='', headers=headers, json=payload_group)



Both post requests return a 201 showing that it was successful.

The response from the second post is this

{'ids': '', 'added_at': '2020-07-02T02:19:47Z'}

After I accept the invite, the user is not placed into the group