Create Bot
To create a meeting bot, send POST https://api.meetstream.ai/api/v1/bots/create_bot with your API key in the Authorization: Token <YOUR_API_KEY> header and the meeting URL in meeting_link. MeetStream reads the platform (Zoom, Google Meet or Microsoft Teams) from the link and returns 201 with a bot_id, which you then use to check the bot’s status and to get its recording and transcript.
Use the dropdown above the code panel to see example payloads for common configurations. For a step-by-step walkthrough, see Create your first bot.
How do I add a bot to a Zoom meeting? Save your Zoom app’s Client ID and Client Secret under Integrations > Zoom in the dashboard, then send the Zoom invite link as meeting_link. The bot joins through your own Zoom app. For a meeting outside your app’s Zoom account, also send zoom.obf_url or zoom.zak_url. See Zoom and Zoom authenticated bots.
How do I send the bot later instead of now? Add join_at with an ISO 8601 time up to 90 days ahead. The response then has status: "Scheduled". See Scheduling bots.
Does the bot record video? Only when you send video_required: true. The default is false, an audio-only bot, and transcripts, diarization and speaker timelines work without video.
How do I stop a retry from creating a second bot? Send an Idempotency-Key header, or a deduplication_key in the body. See Deduplication & idempotency keys.
Related: MeetStream Meeting Bot API and the Create Bot Payload Reference.
Authentication
Format: Token <your_api_key>
Headers
Optional retry key (use a fresh UUID per logical create). If a bot was already created for your account with this key, the API skips creation and replays that bot with HTTP 507. Keys do not expire. A failed create is not cached, so a retry after a failure runs fresh.
Request
The display name the bot uses in the meeting. Defaults to MeetStream. On some platforms only letters, numbers, spaces and - ' . _ @ are accepted.
The ID of a storage destination that you created in the dashboard: 1 to 80 letters, numbers, underscores or hyphens. Omit it to use your workspace’s default destination, or MeetStream storage when you have none. An ID in the wrong format, an unknown ID, or a destination that fails its access check returns 400. If the check cannot run, the request returns 503; retry it.
Whether the bot records the mixed meeting audio. Must be true when audio_mixed_mp3 is true.
Whether the bot records meeting video. Defaults to false, so the bot records audio only. Send true to record video. Audio-only bots process faster and use less storage, and transcripts, diarization and speaker timelines all work without video. When video is on, set recording_config.video_layout to speaker_view to follow the active speaker. The default layout is grid_view.
Also produce an MP3 copy of the mixed meeting audio, returned as audio_mp3_url by Get Bot Audio. Requires audio_required: true. Can also be set inside recording_config; the top-level value wins when both are sent.
Also produce MP3 copies of each per-participant audio segment, returned as download_url_mp3 by Get Audio Streams. Requires audio_separate_streams: true. Can also be set inside recording_config.
Your own logical key for this bot (printable ASCII, 1-2000 characters). It is bound permanently to the first bot created with it for your account. Sending the same key again returns that existing bot with HTTP 200 instead of creating a new one; sending it with a different meeting_link returns 409. Use the Idempotency-Key header instead for transport-level retries. See the Deduplication & Idempotency Keys guide.
A one-shot audio clip the bot plays into the meeting shortly after it is admitted. Google Meet and Microsoft Teams. A Zoom bot that joins through your Zoom app returns 400.
Values for the template variables in the MIA agent’s system prompt, for this bot only. Keys are variable names; values must be strings or primitives (objects and arrays are rejected). Used with agent_config_id.
Optionally set use_own_app to true to require your connected Zoom app, or false to join without your app or credentials. When omitted or null, your app is used if connected or your Zoom credentials are saved; otherwise the bot joins without one. If Zoom refuses your app, the bot does not try again without it. Joining without your app is not available in every region: there, use_own_app false returns 400 Zoom bots are not available in this region right now, and an omitted use_own_app needs your app. For authenticated Zoom join, send exactly one of zak_url or obf_url, optionally with use_own_app true. Neither URL works with use_own_app false. MeetStream fetches your HTTPS mint URL at join time; your server owns OAuth and refresh tokens. Fetch failure does not fall back to a guest join. Both URLs together return 400. The deprecated fields use_zoom_obf and zoom_oauth_connection_user_id are rejected. See /guides/app-integrations/zoom-authenticated-bots.
Join Google Meet signed in, as an account on a Google Workspace domain registered through the Google login endpoints. See /guides/app-integrations/google-signed-in-bots.
Join Microsoft Teams signed in, as a Microsoft 365 account on a domain registered through the Teams login endpoints. The bot shows that account’s display name and picture, so bot_name and bot_image_url are not applied. Each account runs one bot at a time. A teams block with a wrong type or a missing required field returns 400 with a message that names the field. Sending teams for a non-Teams link also returns 400. See /guides/app-integrations/teams-signed-in-bots.
Record one video file for each participant, in addition to the composited meeting video. Off by default. Set it to true when you need one file for each participant. On Google Meet, video_separate_streams: true also needs video_required: true. Otherwise the request returns 400.
The ID of a MIA agent configuration. When you set it, MeetStream connects the bot to the hosted agent, so you do not need to send socket_connection_url or live_audio_required.
Arbitrary key-value metadata attached to the bot.
WebSocket URL for two-way audio/data bridge connection.
Reserved outbound meeting-video configuration. Google Meet, Zoom and Teams meeting bots accept it but ignore it (no live video is sent, and the bot runs on the larger video tier). Only Zoom Meeting Direct Connect (RTMS) sessions stream live video.
Inbound WebRTC video and optional audio published through the bot’s camera and microphone. Supported on Google Meet, Teams, and Zoom. Zoom does not allow agent_config_id with this field. Teams and Zoom require a public wss:// signaling URL. See the Bot Camera Streaming guide.
Bot media is retained for 30 days (720 hours) by default, included in the base rate. Retention beyond 30 days is billed at $0.05 per GB per month. Set retention.hours lower to delete media sooner.
Response
Deduplication replay. A bot already exists for this deduplication_key and the same meeting_link; it is returned instead of creating a new one.
Set when a post-call transcription provider was configured; otherwise null.
Active for an immediate join, Scheduled when join_at was set. On a replay, the bot’s current status.
