Skip to main content

meetings

Creates, updates, deletes, gets or lists a meetings resource.

Overview

Namemeetings
TypeResource
Idcloudflare.realtime_kit.meetings

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
refresh_participant_tokeninsertaccount_id, app_id, meeting_id, participant_idRegenerates participant's authentication token for the given meeting and participant ID.
add_participantinsertaccount_id, app_id, meeting_id, preset_name, custom_participant_idAdds a participant to the given meeting ID.
createinsertaccount_id, app_idCreate a meeting for the given App ID.
edit_participantupdatemeeting_id, participant_id, account_id, app_idUpdates a participant's details for the given meeting and participant ID.
update_meeting_by_idupdatemeeting_id, account_id, app_idUpdates a meeting in an App for the given meeting ID.
replace_meeting_by_idreplacemeeting_id, account_id, app_idReplaces all the details for the given meeting ID.
delete_meeting_participantdeletemeeting_id, participant_id, account_id, app_idDeletes a participant for the given meeting and participant ID.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
app_idstringThe Access application ID.
meeting_idstringThe Realtime Kit meeting ID.
participant_idstringID of the participant. You can fetch the participant ID using the add a participant API.

INSERT examples

Regenerates participant's authentication token for the given meeting and participant ID.

INSERT INTO cloudflare.realtime_kit.meetings (
account_id,
app_id,
meeting_id,
participant_id
)
SELECT
'{{ account_id }}',
'{{ app_id }}',
'{{ meeting_id }}',
'{{ participant_id }}'
RETURNING
data,
success
;

UPDATE examples

Updates a participant's details for the given meeting and participant ID.

UPDATE cloudflare.realtime_kit.meetings
SET
name = '{{ name }}',
picture = '{{ picture }}',
preset_name = '{{ preset_name }}'
WHERE
meeting_id = '{{ meeting_id }}' --required
AND participant_id = '{{ participant_id }}' --required
AND account_id = '{{ account_id }}' --required
AND app_id = '{{ app_id }}' --required
RETURNING
data,
success;

REPLACE examples

Replaces all the details for the given meeting ID.

REPLACE cloudflare.realtime_kit.meetings
SET
ai_config = '{{ ai_config }}',
live_stream_on_start = {{ live_stream_on_start }},
persist_chat = {{ persist_chat }},
record_on_start = {{ record_on_start }},
recording_config = '{{ recording_config }}',
session_keep_alive_time_in_secs = {{ session_keep_alive_time_in_secs }},
summarize_on_end = {{ summarize_on_end }},
title = '{{ title }}'
WHERE
meeting_id = '{{ meeting_id }}' --required
AND account_id = '{{ account_id }}' --required
AND app_id = '{{ app_id }}' --required
RETURNING
data,
success;

DELETE examples

Deletes a participant for the given meeting and participant ID.

DELETE FROM cloudflare.realtime_kit.meetings
WHERE meeting_id = '{{ meeting_id }}' --required
AND participant_id = '{{ participant_id }}' --required
AND account_id = '{{ account_id }}' --required
AND app_id = '{{ app_id }}' --required
;