Skip to main content

CreateCourseMeetings

Creates meetings with the data provided to add to an existing in-person event. Can only be used on non-recurring in-person events. The results of this mutation can be affected by providing an authToken header to set a user for the operation.

CreateCourseMeetings(
courseId: UUID!
createMeetingCompletionCriteria: Boolean
meetings: [MeetingFields!]
): [Meeting!]!

Directives

authAccess

This requires the current user to be in MANAGER role.

Arguments

CreateCourseMeetings.courseId ● UUID! non-null scalar

CreateCourseMeetings.createMeetingCompletionCriteria ● Boolean scalar

CreateCourseMeetings.meetings ● [MeetingFields!] list input

All meetings you want to add to the event. title, startDate, and endDate are required for each meeting.

Type

Meeting object

Examples

Run in Postman

Query:

CreateCourseMeetings(
$courseId: UUID!,
$createMeetingCompletionCriteria: Boolean,
$meetings: [MeetingFields!]
) {
CreateCourseMeetings(
courseId: $courseId,
createMeetingCompletionCriteria: $createMeetingCompletionCriteria,
meetings: $meetings
) {
id
title
courseId
course {
...CourseFragment
}
locationId
location {
...LocationFragment
}
joinUrl
attendeeInfo
instructors
startDate
endDate
timeZone
attendees {
...UserFragment
}
}
}

Variables:

{
"courseId": "UUID",
"createMeetingCompletionCriteria": true,
"meetings": [
"MeetingFields"
]
}

Response:

{
"data": {
"CreateCourseMeetings": [
{
"id": "bf478a69-efd2-4c87-8694-b4f2c497f4b5",
"title": "abc123",
"courseId": "bf478a69-efd2-4c87-8694-b4f2c497f4b5",
"course": "Course",
"locationId": "bf478a69-efd2-4c87-8694-b4f2c497f4b5",
"location": "Location",
"joinUrl": "xyz789",
"attendeeInfo": "abc123",
"instructors": [
"xyz789"
],
"startDate": "2025-02-05T18:12:22.582Z",
"endDate": "2024-08-05T18:12:22.582Z",
"timeZone": "abc123",
"attendees": [
"User"
]
}
]
}
}