API v2/PATCH

Update calendar bot

Update one or more calendar bots for a calendar.

You can target a single event or all occurrences in a series using series_id, all_occurrences, and event_id in the request body. The bot must be in scheduled status and the join time must be at least 4 minutes in the future.

Update Targets:

  • event_id: Update bot for a specific event instance
  • series_id: Update bots for all occurrences of a series
  • all_occurrences: Update all future occurrences (for recurring events)

Updateable Fields: You can update any bot configuration field (bot name, image, recording mode, transcription settings, etc.). All fields are optional - only provided fields will be updated.

Status Requirements: The bot must be in scheduled status. Bots that have already joined (completed) or failed (failed) cannot be updated. If the bot is in an invalid state, the request will fail with a 409 Conflict status.

Join Time Requirements: The join time must be at least 4 minutes in the future. If the join time is too close, the request will fail with 409 Conflict. This ensures the bot can be updated before it starts processing.

Partial Updates: If updating multiple bots (e.g., all occurrences of a series), some bots may fail to update (e.g., if they're not in scheduled status). The response includes information about which bots were updated and which failed.

Returns 200 with update results. Returns 404 if the event or calendar bot schedule is not found, or 409 if the bot's status does not allow update.

PATCH
/v2/calendars/{calendar_id}/bots

Authorization

ApiKeyAuth
x-meeting-baas-api-key<token>

Your Meeting BaaS API key. Get one from your account settings.

In: header

Path Parameters

calendar_id*string

The unique identifier of the calendar that contains the event.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Request Body

application/json

all_occurrences*boolean

Whether to schedule bots for all occurrences of the event series.

If true, bots will be scheduled for all future event instances in the series. If false, event_id must be provided to schedule a bot for a specific event instance.

Default: false

Defaultfalse
event_id?string

The UUID of a specific event instance to schedule a bot for.

Required when all_occurrences is false. Use this to schedule a bot for a single occurrence of a recurring event or a specific one-off event. If all_occurrences is true, this parameter is ignored.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
series_id*string

The UUID of the event series to schedule bots for.

Both one-off and recurring events have a series_id. For recurring events, use 'all_occurrences' to schedule bots for all future occurrences.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
bot_image?|array<>|

The bot's avatar image(s).

Accepts a single HTTPS URL or an array of up to 5 HTTPS URLs pointing to image files (JPEG, PNG, or WebP). When multiple images are provided, they will be cycled based on the bot_image_config settings.

Defaultnull
bot_image_config?|

Configuration for how bot avatar images are displayed. Only relevant when multiple images are provided in bot_image.

Defaultnull
bot_name?string

The name requested for the bot.

This name is displayed for anonymous joins. For an authenticated Microsoft Teams join using teams_config, Microsoft Teams ignores this value and displays the signed-in Microsoft 365 account's display name and profile instead.

For a Microsoft Teams meeting the name must be one Teams accepts for a guest, or the request is rejected: at most 50 characters; only letters, numbers, spaces and ' ’ . _ @ - · ・; no consecutive spaces; and no leading, trailing or consecutive periods. This applies to authenticated joins too, because a failed sign-in falls back to joining as a guest under this name.

Length1 <= length <= 255
callback_config?

The callback configuration for the bot.

Required when callback_enabled is true. Must not be provided when callback_enabled is false.

  • url: The URL to be called upon completion or failure of the bot
  • secret: Secret for HMAC validation (sent in x-mb-secret header)
  • method: HTTP method (POST or PUT, default: POST)

Omit this field to leave callback configuration unchanged.

callback_enabled?boolean

Enable or disable callback for this bot.

  • Set to true to enable callback (requires callback_config)
  • Set to false to disable callback (do not provide callback_config)
  • Omit this field to leave callback configuration unchanged

If you want to change callback settings, you must provide both callback_enabled and callback_config together.

entry_message?|

The message that the bot will send when it joins the meeting.

This message will be posted in the meeting chat when the bot successfully joins.

Available for Google Meet, Microsoft Teams, and Zoom meetings.

Maximum: 4096 characters

Defaultnull
extra?|

An optional extra configuration object for the bot.

This object can contain any custom key-value pairs that you want to associate with the bot. The data will be:

  • Included in all webhook event payloads (if a webhook endpoint is configured)
  • Part of the callback payload (if callback is enabled)
  • Returned when fetching the bot's details via the API

Useful for storing custom metadata, tracking information, or any other data you need to correlate with the bot.

Defaultnull
ignored_participant_names?array<>Deprecated

Deprecated: use timeout_config.bot_detection.participant_names instead. This field still works and is not being removed yet.

Participant names to ignore when evaluating auto-leave conditions.

The bot will not count participants whose name exactly matches one of these (case and surrounding spaces ignored) when determining whether to leave a meeting. This is useful when multiple bots may join the same meeting across different environments (e.g., sandbox, staging). For whole-word matching of other notetakers, and to ignore your team's other bots in the same meeting (detect_same_account_bots), use timeout_config.bot_detection.

Default[]
meet_config?|

Meet-only configuration for authenticated bots via SAML SSO.

  • credential_id: pin a specific login.
  • email_group: pool selector (preferred — takes priority).
  • fallback: 'fail' (default) or 'anonymous' on saturation.

A login joins a given meeting once. If every login you can use already has one of your bots in the meeting, the request is refused with 409 (or the bot joins anonymously when fallback is 'anonymous'). The same login can be in any number of different meetings.

Leave null for anonymous Meet joins, Zoom, or Microsoft Teams.

Defaultnull
recording_mode?string

The recording mode of the bot.

Determines what the bot records during the meeting:

  • speaker_view: Records the speaker's view (default). Shows the active speaker or presenter.
  • audio_only: Records only the audio without video.
  • gallery_view: Records Google Meet's tiled gallery view. Other platforms currently fall back to speaker_view.

Default: speaker_view

Default"speaker_view"
Value in"audio_only" | "speaker_view" | "gallery_view"
streaming_config?

The streaming configuration for the bot.

Required when streaming_enabled is true. Must not be provided when streaming_enabled is false.

  • input_url: Websocket stream URL that receives audio sent to the bot
  • output_url: Websocket stream URL where the bot sends audio
  • audio_frequency: Audio frequency in Hz (default: 24000)

Omit this field to leave streaming configuration unchanged.

streaming_enabled?boolean

Enable or disable audio streaming for this bot.

  • Set to true to enable streaming (requires streaming_config)
  • Set to false to disable streaming (do not provide streaming_config)
  • Omit this field to leave streaming configuration unchanged

If you want to change streaming settings, you must provide both streaming_enabled and streaming_config together.

teams_config?|

Teams-only configuration for authenticated bots via a signed-in Microsoft account.

Microsoft Teams displays the selected account's Microsoft 365 name and profile; bot_name is ignored for the authenticated join.

  • credential_id: pin a specific login and display identity.
  • email_group: least-loaded pool selector (takes priority).
  • fallback: 'fail' (default) or 'anonymous' on saturation.

Leave null for anonymous Teams joins, Zoom, or Google Meet.

Defaultnull
timeout_config?

Configuration for automatic meeting exit behavior. For Google Meet and Microsoft Teams, the bot uses waiting_room_timeout to wait in the waiting room, then no_one_joined_timeout to wait for participants when first joining the meeting, and finally switches to silence_timeout monitoring once participants are detected. The bot leaves everyone_left_timeout seconds after every other participant has left. Zoom bots that join with Zoom credentials use waiting_room_timeout, no_one_joined_timeout (when nobody else joins) and everyone_left_timeout; browser-based Zoom bots also use silence_timeout. Optional max_recording_duration sets a hard cap on total recording time (up to 12 hours). Optional bot_detection leaves sooner when every remaining participant is a bot.

Default{"bot_detection":null,"everyone_left_timeout":30,"grace_period":0,"max_recording_duration":null,"no_one_joined_timeout":600,"silence_timeout":600,"waiting_room_timeout":600}
transcription_config?

The transcription configuration for the bot.

Required when transcription_enabled is true. Must not be provided when transcription_enabled is false.

  • provider: Speech-to-text provider (default: "gladia"). Supported: gladia, deepgram, assemblyai, speechmatics, soniox
  • api_key: Your own API key for the provider (BYOK - available on all plans)
  • region: Provider region (e.g. "eu", "us"). Required for some providers like Speechmatics
  • custom_params: Custom parameters for the transcription provider

Omit this field to leave transcription configuration unchanged.

transcription_enabled?boolean

Enable or disable transcription for this bot.

  • Set to true to enable transcription (requires transcription_config)
  • Set to false to disable transcription (do not provide transcription_config)
  • Omit this field to leave transcription configuration unchanged

If you want to change transcription settings, you must provide both transcription_enabled and transcription_config together.

zoom_config?|

Zoom-only configuration for authentication and join method.

  • credential_id: Use a stored Zoom credential (OBF token fetched by the bot from the API server).
  • credential_user_id: Resolve a stored credential by Zoom user ID.
  • obf_token: Provide a direct OBF token (one-off join).
  • obf_token_url: URL that returns an OBF token when the bot joins.
  • zak_token_url: URL that returns a ZAK for joining without the host.

Leave null for Google Meet and Microsoft Teams.

Defaultnull

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://api.meetingbaas.com/v2/calendars/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots" \  -H "Content-Type: application/json" \  -d '{    "all_occurrences": false,    "series_id": "0f6582ac-1e7e-41dc-a63a-24fccd074d0c"  }'
{
  "data": [
    {
      "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7"
    }
  ],
  "errors": [
    {
      "code": "string",
      "details": "string",
      "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
      "message": "string"
    }
  ],
  "success": true
}
{
  "code": "string",
  "error": "string",
  "message": "string",
  "statusCode": 9007199254740991,
  "success": false
}
{
  "code": "string",
  "details": "string",
  "error": "string",
  "message": "string",
  "statusCode": 9007199254740991,
  "success": false
}
{
  "code": "string",
  "details": "string",
  "error": "string",
  "message": "string",
  "statusCode": 9007199254740991,
  "success": false
}
{
  "code": "string",
  "details": "string",
  "error": "string",
  "message": "string",
  "retryAfter": 9007199254740991,
  "statusCode": 9007199254740991,
  "success": false
}
{
  "code": "string",
  "details": "string",
  "error": "string",
  "message": "string",
  "statusCode": 9007199254740991,
  "success": false
}