**Rate limit: Per command** · **Burst:** 20 · **Refill:** 20 req/s
Mask the recording identified by `recording_uuid`, for example, to redact a
card-number segment. The recording continues, but audio received while it is
masked is omitted. Resume writing with this recording's `unmask` endpoint.
Requires that exact recording to be active; returns `404 Not Found` if it is not
in progress (the call is unaffected). The `202 Accepted` response confirms
that the command was admitted, not that masking has taken effect. This
operation does not emit a completion webhook.
See [Recording lifecycle events](/api/recording#lifecycle-events) for complete payload schemas and examples.
Request
This endpoint expects an object.
Response
Command accepted for async execution
operation_uuidstringformat: "uuid"
already_endedtrueOptional
Optional. Set to true on idempotent terminal commands when the session was already in a terminal state at the time the request was received. Absent otherwise.