Skip to main content
PATCH
/
meetings
/
{id}
JavaScript
import Moonbase from '@moonbaseai/sdk';

const client = new Moonbase({
  apiKey: process.env['MOONBASE_API_KEY'], // This is the default and can be omitted
});

const meeting = await client.meetings.update('id', {
  recording: {
    provider_id: 'abc123',
    content_type: 'video/mp4',
    url: 'https://example.com/recording.mp4',
  },
  transcript: {
    provider: 'example',
    provider_id: 'def456',
    cues: [
      {
        from: 0.71999997,
        to: 1.22,
        text: 'Hello.',
        speaker: 'Jony Appleseed',
      },
      {
        from: 1.52,
        to: 3.22,
        text: "Hey! It's been too long.",
        speaker: 'Jane Doe',
      },
    ],
  },
});

console.log(meeting.id);
{
  "id": "1CLJt2v17V1yuCdrUwA4PW",
  "type": "meeting",
  "end_at": "2025-02-17T15:30:00.000Z",
  "duration": 1800,
  "created_at": "2025-02-17T16:00:00.000Z",
  "updated_at": "2025-02-17T16:00:00.000Z",
  "title": "Ended",
  "provider_id": "38",
  "i_cal_uid": "39",
  "time_zone": "Europe/Paris",
  "start_at": "2025-02-17T15:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Your Moonbase API key.

Path Parameters

id
string
required

The ID of the meeting to update.

Body

application/json

Parameters for updating a Meeting.

recording
MeetingRecordingParams · object

A video recording of the meeting.

transcript
MeetingTranscriptParams · object

The meeting transcript.

Response

Successful response.

The Meeting object represents a calendar event. It includes details about the participants, timing, and associated content like summaries and recordings.

type
string
required

String representing the object’s type. Always meeting for this object.

Allowed value: "meeting"
id
string
required

Unique identifier for the object.

provider_id
string
required

The unique identifier for the meeting from the external calendar provider (e.g., Google Calendar).

i_cal_uid
string
required

The globally unique iCalendar UID for the meeting event.

time_zone
string
required

The IANA time zone in which the meeting is scheduled (e.g., America/Los_Angeles).

start_at
string<date-time>
required

The start time of the meeting, as an ISO 8601 timestamp in UTC.

end_at
string<date-time>
required

The end time of the meeting, as an ISO 8601 timestamp in UTC.

created_at
string<date-time>
required

Time at which the object was created, as an ISO 8601 timestamp in UTC.

updated_at
string<date-time>
required

Time at which the object was last updated, as an ISO 8601 timestamp in UTC.

title
string

The title or subject of the meeting.

provider_uri
string<uri>

A URL to access the meeting in the external provider's system.

description
string

A detailed description or agenda for the meeting.

location
string

The physical or virtual location of the meeting.

duration
number

The duration of the meeting in seconds.

recording_url
string<uri>

A temporary, signed URL to download the meeting recording. The URL expires after one hour.

organizer
MeetingOrganizer · object

The Organizer of the meeting.

Note: Only present when requested using the include query parameter.

attendees
MeetingAttendee · object[]

A list of Attendee objects for the meeting.

Note: Only present when requested using the include query parameter.

transcript
MeetingTranscript · object
note
Note · object

Any personal notes taken during the meeting. It also includes the AI-generated pre-meeting briefing.

Note: Only present when requested using the include query parameter.

summary
Note · object

A summary of the meeting.

Note: Only present when requested using the include query parameter.