bk-zoom
(Brian)
January 12, 2022, 6:27pm
1
What is the proper way for attaching the invitee(s) to a meeting when created via the API?
You documentation (https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate ) states there is a settings parameter to add “meeting_invitees” which should be an array object of emails inside the settings parameter, i am getting back error with this payload:
{
"topic": "test meeting",
"type": "2",
"start_time": "2022-02-01T19:00:00+00:00",
"duration": "30",
"timezone": "UTC",
"password": "string1",
"agenda": "This is the agenda text",
"settings": {
"meeting_invitees": [
"persona@email.com"
],
"alternative_hosts": "alt@host.com",
"alternative_hosts_email_notification": "false",
"registrants_email_notification": "true",
"registrants_confirmation_email": "true"
}
}
Error:
<error>
<code>300</code>
<message>Request Body should be a valid JSON object.</message>
</error>
gianni.zoom
(OOO 11/1 - 11/8)
January 13, 2022, 2:18am
2
Hi @bk-zoom ,
I was able to reproduce this error as well. I’ve opened up an inquiry with our API engineers (ZOOM-338682). I’ll keep you updated!
Gianni
gianni.zoom
(OOO 11/1 - 11/8)
January 13, 2022, 4:43pm
3
@bk-zoom hello this is my fault, it should be an array of objects like this:
“settings”: {
“meeting_invitees”: [
{“email”: “persona@email.com ”}, {“email”: “persona2@email.com ”}
],
jl-zoom
(Joachim)
January 21, 2022, 4:03pm
4
Hi Gianni,
When the meeting is created, is it supposed to send an invitation email to all the given invitees? Because in my case, it does not.
Do I miss something?
Btw, here is how I create my payload:
const invitees = (this.meetingFormGroup.getRawValue().invitees as string)?.split(';').map(i => ({ email: i })) || [];
const meetingPayload: Partial<MeetingPayload> = {
topic: this.meetingFormGroup.getRawValue().topic,
agenda: this.meetingFormGroup.getRawValue().agenda,
type: MeetingType.RECURRING_NO_FIXED_TIME,
duration,
password: '', // will be set automatically by zoom API
timezone: 'Europe/Paris',
settings: {
meeting_invitees: invitees,
registrants_email_notification: true,
registrants_confirmation_email: true,
}
};
Joachim
gianni.zoom
(OOO 11/1 - 11/8)
January 21, 2022, 11:19pm
5
Hi @jl-zoom ,
Check your email settings on your account for meetings. See if the box is checked. The API request with
registrants_email_notification: true,
registrants_confirmation_email: true,
Should be sufficient in enforcing this setting, but let me know what you see in your portal.
jl-zoom
(Joachim)
January 23, 2022, 4:31pm
6
gianni.zoom
(OOO 11/1 - 11/8)
January 24, 2022, 3:53pm
7
Hi @jl-zoom ,
I am actually mistaken. It seems like you can only do this for webinars (see below):
I wasn’t able to access the same email settings for meetings. Can you please send your full API request url/body and response body with a link to this thread to Support addressed to me? Please also include the meetingId where the expected behavior is not occuring.
I will take a further look to see why its’s not working.
Thank you,
Gianni
system
(system)
Closed
February 24, 2022, 1:53am
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.