Does 'meeting_invitees' in Meeting API send emails?

Description
Is the ‘meeting_invitees’ list in the settings option not supposed to send emails to the invitees? It did not send invitation mails in my case and I am new to the API so not sure if this is expected behavior or I am doing something wrong. The code used is as follows:

import requests
import json

account_id = "MyAccountId"
client_id = "MyClientId"
client_secret = "MyClientSecret"

get_token_url = f"https://zoom.us/oauth/token?grant_type=account_credentials&account_id={account_id}"
resp = requests.post(get_token_url, auth=(client_id, client_secret))
resp_json = resp.json()
# print(resp_json)

create_meeting_url = "https://api.zoom.us/v2/users/me/meetings"
headers = {
    "Authorization": f"Bearer {resp_json['access_token']}",
    "content-type": "application/json"
}
meeting_details = {
    "topic": "Demo meeting",
    "type": 2,
    "start_time": "2022-10-20T22: 15: 00",
    "duration": "45",
    "timezone": "Asia/Calcutta",
    "agenda": "To test invitees",
    "settings": {
        "meeting_invitees": [
            {"email": "email1@gmail.com"},
            {"email": "email2@gmail.com"}
        ]
    }
}

resp = requests.post(
    create_meeting_url,
    data=json.dumps(meeting_details),
    headers=headers
)

resp_json = resp.json()
print(resp_json)

I found some other discussions related to this issue (like this, this and this) but didn’t get whether this is the expected behavior or not. It would be very helpful if someone could tell me about this. Also, I am using a free account.

1 Like

Hi @Adbhut ,

That value is just a list of the meeting’s invitees. It does not generate an email, though all participants are emailed.

You may wish to use to take a look at meeting registrants API

Let us know if you have any questions!

Thanks for the reply. I have a followup question.

What is the difference between participants, invitees and registrants?

That value is just a list of the meeting’s invitees.

How can I get the meeting_inivtees from a meeting?
When I created the meeting I specified meeting_invitees, but I can’t find API endpoint which will return meeting_invitees at all.

@doletic1 ,

You’re right, meeting_invitees is not something returned from the meeting API endpoints.

I’d recommend requiring registration and then using this endpoint: GET /meetings/{meetingId}/registrants to track them.

This will be doubly helpful if down the line you want to get certain participant info, you’ll be able to match the participant with their registrant_id