Issue with Adding Invitees using Create meeting API

I’m encountering an issue when using the Zoom API to create a meeting for a provider, where I attempt to add a list of DTEN machine emails as meeting invitees. While the meeting is successfully created for the provider, the DTEN machine emails are not receiving invitations, and the machines do not show up the upcoming meetings list.

using the POST /users/{userId}/meetings endpoint to create a meeting

{ "topic", $"ABC" },
{ "type", 2 },
{ "start_time", startDateTime.ToString("yyyy-MM-ddTHH:mm:ssZ") },
{ "duration", 60 },
{ "timezone", "UTC" },
{ "agenda", "XYZ" },
{"internal_meeting", true },
{ "password", "" }

};

JArray meetingInvitees = new JArray();
foreach(string email in machineEmailIds)
{
JObject invitee = new JObject
{
{ “email”, email }
};
meetingInvitees.Add(invitee);
}

jsonBody.Add(“meeting_invitees”, meetingInvitees);

is this the right approach or is there a different way to use only a single api to create the meeting and invite the participants?

Hi @tejaswi.munnangi
Thanks for reaching out to us and welcome to the Zoom Developer Community!
The “meeting_invitees” field does not trigger an email to the participants you are adding.
I would recommend to set up registration to your meetings, that you can handle on your end and that way the participants will also get an email with the join link attached to their registration

here is my updated code, though I enabled the registration I’m unable to see the meeting under upcoming list. All I want is to add participants into meeting. How to add participants while creating a meeting?

var jsonBody = new JObject
{
{ “topic”, $“ABC” },
{ “type”, 2 },
{ “start_time”, startDateTime.ToString(“yyyy-MM-ddTHH:mm:ssZ”) },
{ “duration”, 60 },
{ “timezone”, “UTC” },
{ “agenda”, “XYZ” },
{ “password”, “” },
};

JObject meetingSettings = new()
{
{ “internal_meeting”, true },
{ “approval_type”, 0 },
{ “registration_type”, 2 }
};

JArray meetingInvitees = new();
foreach(string email in machineEmailIds)
{

JObject invitee = new JObject
{
    { "email", email }
};
meetingInvitees.Add(invitee);

}

meetingSettings.Add(“meeting_invitees”, meetingInvitees);

Hi @tejaswi.munnangi
As mentioned in the thread I shared, you would have to programmatically register participants to the meeting

Thank you for reply. I did add the participants using registrants api and still can’t see the meeting under the upcoming meetings

// Creating the JSON body add meeting participant
var jsonBody = new JObject
{
{ “first_name”, name },
{ “last_name”, name },
{ “email”, email },
{ “auto_approve”,true }
};

request.AddParameter(“application/json”, jsonBody.ToString(), ParameterType.RequestBody);
RestResponse response = restClient.Execute(request);

hi @tejaswi.munnangi
The meeting will only be visible for the host

I want the meeting visibility for the participants in the upcoming meeting screen. What are the steps to follow?

Hi @tejaswi.munnangi
The meeting will only appear in the hosts upcoming meeting screen, since the host is the owner of the meeting

Hi @tejaswi.munnangi , just messaged you!