Retrieve a bot
GET/calendar/{connection_id}/bot/{id}
Retrieves a single CalendarBot by its id. Obtain id values from the corresponding list endpoint. Use fields to return only the fields you need.
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Bot
Returns
| Response field | Type | Required | Description |
|---|---|---|---|
id | string | No | |
created_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
updated_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
name | string | No | Display name for the bot in the meeting |
meeting_url | string | No | URL of the meeting to join |
event_id | string | No | Reference to calendar_event if scheduled via calendar (reference to CalendarEvent) |
status | enum | No | Values: READY, JOINING_CALL, IN_WAITING_ROOM, IN_CALL_NOT_RECORDING, RECORDING_PERMISSION_ALLOWED, RECORDING_PERMISSION_DENIED, IN_CALL_RECORDING, CALL_ENDED, DONE, FATAL |
status_changes | CalendarBotStatusChange[] | No | History of status changes |
status_changes[].status | enum | No | Values: READY, JOINING_CALL, IN_WAITING_ROOM, IN_CALL_NOT_RECORDING, RECORDING_PERMISSION_ALLOWED, RECORDING_PERMISSION_DENIED, IN_CALL_RECORDING, CALL_ENDED, DONE, FATAL |
status_changes[].changed_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
status_changes[].sub_code | string | No | Platform-specific status sub-code |
status_changes[].message | string | No | Human-readable status message |
join_at | string (date-time) | No | When to join the meeting (for scheduled bots) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
started_at | string (date-time) | No | When the bot actually joined (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
ended_at | string (date-time) | No | When the bot left (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
recording_config | object | No | |
recording_config.record_video | boolean | No | |
recording_config.record_audio | boolean | No | |
recording_config.record_transcript | boolean | No | |
recording_config.record_chat | boolean | No | |
recording_config.record_screenshare | boolean | No | |
recording_config.transcription | CalendarBot_recording_config_transcription | No | |
recording_config.transcription.provider | enum | No | Values: MEETING_CAPTIONS, AWS_TRANSCRIBE, GOOGLE_SPEECH, ASSEMBLYAI, DEEPGRAM, CUSTOM |
recording_config.transcription.mode | enum | No | Values: PRIORITIZE_ACCURACY, PRIORITIZE_LOW_LATENCY |
recording_config.transcription.language | string | No | ISO language code (e.g., 'en-US') |
recording_config.transcription.enable_speaker_labels | boolean | No | Whether to identify speakers in transcript |
recording_config.transcription.enable_word_timestamps | boolean | No | Whether to include word-level timestamps |
automatic_leave | object | No | |
automatic_leave.waiting_room_timeout | number | No | Seconds to wait in waiting room before leaving (default: 1200) |
automatic_leave.no_participants_timeout | number | No | Seconds to wait when no other participants before leaving (default: 2) |
automatic_leave.detect_bots | boolean | No | Whether to leave if only bots remain |
meeting_metadata | object | No | |
meeting_metadata.title | string | No | |
meeting_metadata.platform | string | No | 'zoom', 'webex', 'google_meet', etc. |
meeting_metadata.host_name | string | No | |
meeting_metadata.host_email | string | No | |
meeting_metadata.meeting_identifier | string | No | Platform-specific meeting identifier (not a unified object ref) |
meeting_metadata.started_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
meeting_metadata.ended_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
meeting_metadata.participant_count | number | No | |
participants | CalendarBotParticipant[] | No | |
participants[].id | string | No | |
participants[].name | string | No | |
participants[].email | string | No | |
participants[].is_host | boolean | No | |
participants[].is_cohost | boolean | No | |
participants[].joined_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
participants[].left_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
participants[].platform | string | No | Platform-specific participant identifier |
participants[].is_bot | boolean | No | Whether this participant is a bot |
participants[].is_self | boolean | No | Whether this participant is the current bot |
participants[].speaking | boolean | No | Whether participant is currently speaking |
participants[].webcam_on | boolean | No | Whether participant's webcam is on |
participants[].screenshare_on | boolean | No | Whether participant is sharing screen |
participants[].platform_metadata | object | No | Platform-specific metadata |
recording_id | string | No | Reference to calendar_recording when ready |
Errors
Errors return the HTTP status code and a JSON body with statusCode, error (the short label) and message (a human-readable detail).
{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Too many requests to unified.to API; max requests per minute: N"
}| Status | Error | Meaning |
|---|---|---|
400 | Bad Request | The request was malformed or failed validation. |
401 | Unauthorized | The connection is likely broken; re-authorize it. |
403 | Forbidden | The connection is missing permissions or scopes. |
404 | Not Found | The requested resource does not exist. |
429 | Too Many Requests | Rate limit exceeded (see the two sources below). |
500 | Internal Server Error | An unexpected error occurred. |
501 | Not Implemented | Not supported by this integration. |
Errors from the underlying integration pass through: the integration's status comes back as ours (429, 401, 403, 404 or 5xx), usually with its message. When the integration's error body is unclear, Unified extracts what it can and returns a clearer message.
429 Too Many Requests
A 429 has two possible sources:
- The integration's own rate limit, passed through.
- Unified's workspace limit: a rolling 60 seconds, set by plan, with the message
Too many requests to unified.to API; max requests per minute: N.
const options = {
method: 'GET',
url: 'https://api.unified.to/calendar/5de520f96e439b002043d8dc/bot/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know
Was this page helpful?