Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for creating a new meeting session.

Cross-field rules:

  • assistant cannot be combined with join_at; it is available only for sessions that join immediately.
  • assistant cannot be combined with barge_in: true.
  • assistant.avatar: true cannot be combined with speak_on_enter; the assistant greets through its avatar.
  • The assistant options, including avatar, take effect at session creation and cannot be modified later.
  • An avatar takes precedence over camera_image; ordinary assistant sessions can use a static camera image.

Google Meet and Teams recording requires a recording_export destination. Zoom meetings are recorded by default without one; the recording is held by the Meeting service and read through the recordings endpoint. Use join_at to schedule a meeting, or omit it to join now. Zoom ignores leave_policy. Digital avatars require avatar support.

meeting_url
string<uri>
required

The meeting URL the bot should join.

bot_name
string

Display name for the bot in the meeting. Defaults to "Meeting Bot".

Required string length: 1 - 100
join_at
string<date-time>

Future ISO-8601 join timestamp including timezone. Google Meet and Teams accept dates at most three years ahead. Omit for an immediate join. Assistant sessions created through this endpoint must join immediately.

voice
string

Session-default voice identifier used for speak_on_enter and ordinary speak actions. A voice supplied on an individual speak action overrides this default for that utterance. With an assistant attached, its conversational voice remains configured on the assistant.

Required string length: 1 - 100
speak_on_enter
string

Text the bot speaks after joining. Available for sessions without a digital avatar. With an AI Assistant, the greeting waits until the assistant is connected. Rejected with 400 invalid_request when assistant.avatar is true.

Required string length: 1 - 4000
chat_on_enter
string

A message the bot posts to the meeting's chat as soon as it becomes active — typically a recording disclosure. Delivered at most once. Independent of speak_on_enter: both may be set, and the chat message posts first because it does not wait for text-to-speech or avatar startup. Rejected with 422 unsupported_capability on platforms without meeting chat. For Google Meet and Teams, text must be nonblank, at most 4096 UTF-8 bytes, with no control characters except tabs and line breaks. Counts toward the 1000-chat-request session limit.

Required string length: 1 - 4000
barge_in
boolean
default:false

When enabled, a human participant speech_on event interrupts and stops the current bot audio; it does not bypass admission or initiate speech. Assistant sessions reject barge_in: true.

summarize_on_end
boolean
default:false

If true, generate a summary artifact when the session ends.

camera_image
MeetingSessionCameraImageBase64Source · object

Not supported for Google Meet and Teams joins (422 unsupported_capability). Write-only static camera-tile image for this session, not an account or participant profile photo. Supply exactly one JPEG source. When effective, the image is used as the bot's static camera/video output; presentation varies by meeting platform and recording configuration and is not guaranteed in recordings. An attached assistant or avatar takes precedence, so this input is ignored and a URL source is not fetched.

Example:
webhook_url
string<uri>

HTTPS endpoint to receive session lifecycle callbacks. Static validation requires HTTPS, rejects embedded credentials and blocked hosts, and enforces egress policy. Validation makes no network request to the endpoint.

metadata
object

Arbitrary key-value metadata attached to the session. The serialized JSON representation must not exceed 16384 characters at runtime.

idempotency_key
string

Use a unique key per intended join and reuse the same key and request on retries. Reusing a key with a different join configuration or meeting URL can return 409 invalid_state. Always retry with the original request.

Required string length: 1 - 255
assistant
MeetingSessionAssistantRequest · object

Attach a Telnyx AI Assistant owned by the authenticated account. Supply its ID and optional conversation settings. Unknown fields are rejected.

leave_policy
object

Automatic departure settings for Google Meet and Teams. Omitted fields use the default behavior. Set at creation; cannot be changed later. Zoom ignores this policy.

recording
boolean

Google Meet and Teams: defaults to true when recording_export is supplied and false otherwise. True requires recording_export.bucket; false cannot be combined with recording_export. Zoom: defaults to true, and the recording is held by the Meeting service; false disables the saved recording, and recording_export is ignored. Fixed at creation, with no pause/resume action.

recording_view
enum<string>
default:speaker_view

Recording layout while nobody is sharing a screen. Defaults to speaker_view. gallery_view_v2 is a Zoom grid that also draws a named tile for participants whose camera is off; Google Meet and Teams treat it as gallery_view and return it as gallery_view. audio_only records a Zoom meeting without video; Google Meet and Teams reject it with 422 unsupported_capability. speaker_view_no_sidebar applies to Google Meet and Teams and is ignored for Zoom. Accepted at creation only; does not enable recording by itself.

Available options:
speaker_view,
gallery_view,
gallery_view_v2,
audio_only,
speaker_view_no_sidebar
recording_export
object

Customer-owned Telnyx Storage destination for recording exports. Uses the authenticated organization and user; do not supply credentials, region, organization ID or object key.

recording_screenshare_participants
enum<string>
default:overlap

Where participant video goes in the recording while a screen is shared, on Google Meet, Teams, and Zoom. overlap (default) keeps the default layout, in which participant video can cover part of the shared screen. beside places participant video in a column next to the shared screen. hide records the shared screen alone. When nobody is sharing, the frame follows recording_view. Accepted at creation only; does not enable recording by itself.

Available options:
overlap,
beside,
hide
recording_retention
MeetingSessionRecordingRetentionRequest · object

Deletes the recording automatically. Supply exactly one of hours, days, or delete_at. Requires recording to be enabled: on Google Meet and Teams that means recording_export.bucket, and recording: false with a retention policy is rejected with 400. On Zoom the recording held by the Meeting service is deleted; that recording is removed after 167 hours at the latest, so a longer policy does not keep it longer. Fixed at creation. Only the recording is deleted; the session, transcript, events, and artifacts are kept. Returns 503 not_configured when automatic deletion is unavailable.

Response

Replayed existing meeting session matching the account-scoped idempotency_key. Replay is key-only; the request payload is not fingerprinted or compared.

data
MeetingSession · object
required

Represents a meeting session. Core serializer fields are required; platform-specific fields are optional. Nullable fields use null when absent. No actor, provider-bot, idempotency, routing, key, or internal fields are exposed.