Skip to main content
POST
/
api
/
v1
/
bots
/
{object_id}
/
pause_recording
Pause Recording
curl --request POST \
  --url https://api.example.com/api/v1/bots/{object_id}/pause_recording
{
  "id": "<string>",
  "recording_state": "<string>",
  "state": "<string>"
}
Pauses the recording for a bot. This functionality is currently in beta and only supported for Google Meet and Microsoft Teams bots.
This feature is in beta and only works with Google Meet and Microsoft Teams. Zoom recordings cannot be paused via this endpoint.

Authentication

Requires API key authentication via the Authorization header.

Path Parameters

object_id
string
required
Bot ID (e.g., bot_xxxxxxxxxxx)

Response

Returns the updated bot object with recording state changed to paused.
id
string
Bot ID
recording_state
string
Current recording state. Will be paused after successful pause.
state
string
Bot state (e.g., joined_recording_paused)

Example Request

curl -X POST https://app.attendee.dev/api/v1/bots/bot_weIAju4OXNZkDTpZ/pause_recording \
  -H "Authorization: Token YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json"

Error Responses

400 Bad Request

Returned when the bot is not in a valid state to pause recording (e.g., not currently recording).

404 Not Found

Returned when the bot ID does not exist.

Build docs developers (and LLMs) love