Skip to content
gist.link ↗

createMeetingRecordingUpload

Mutation Teams API — POST https://teams.api.gist.link/graphql

Presigned browser upload for a meeting audio recording (≤500 MB, webm/opus from MediaRecorder). PUT the blob to uploadUrl with the returned headers, then call finalizeMeetingRecording. Anyone who can see the meeting.

teams:mutation:createMeetingRecordingUpload

The calling IAM key must hold this permission (or a wildcard that covers it: teams:mutation:* or teams:*) and the access token must have been minted with audience=teams. See Permissions.

type Mutation {
createMeetingRecordingUpload(code: String!, sizeBytes: Int): AttachmentUploadTicket!
}
Argument Type Required Description
code String! Yes —
sizeBytes Int No —

AttachmentUploadTicket! — see the Teams types reference.

Terminal window
curl https://teams.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation CreateMeetingRecordingUpload($code: String!, $sizeBytes: Int) { createMeetingRecordingUpload(code: $code, sizeBytes: $sizeBytes) { nodeId uploadUrl headers } }",
"variables": {
"code": "example",
"sizeBytes": 10
}
}
JSON