recording_storage config field works for Amazon S3, Google Cloud Storage, and Azure Blob Storage - pick a provider, configure a one-time trust relationship on your side, and pass us the resulting non-secret identifiers.
No customer secrets are stored at Tavus. Every supported path uses provider-native federated identity (IAM role assumption, GCP Workload Identity Federation, or Entra ID Federated Credentials). You configure trust on your side; we receive short-lived tokens at runtime.
application.recording_ready (with storage_provider and a fully-qualified storage_uri) to your callback_url. See Webhooks and Callbacks.
Set up your storage
- Amazon S3
- Google Cloud Storage
- Azure Blob Storage
S3 is the fastest path - recordings are written directly into your bucket as they finalize. Works in every AWS region.
1
Create an IAM role in your AWS account
Configure the role’s trust relationship with all three of the following - every field is mandatory:Permissions policy (scoped to your bucket):
- Trusted AWS principal: AWS account ID
291871421005. - ExternalId:
tavus. - Max session duration: 12 hours (43200 seconds). AWS roles default to 1 hour, but the recording service requests 12-hour sessions when assuming the role. A role with the default duration will fail validation at room creation with
unable to assume role with given parameters.
About the trusted AWS account. Tavus’s recording infrastructure is operated through Daily.co; AWS account ID
291871421005 belongs to them. The same account ID is documented in Daily’s S3 setup guide for customers running their own security review. The ExternalId tavus is Tavus’s identifier with Daily, gating cross-account sts:AssumeRole per the confused-deputy AWS pattern.2
Pass the role on conversation creation
cURL
Legacy: flat S3 fields (still supported)
Legacy: flat S3 fields (still supported)
The original setup using flat properties on These map internally to
properties (without the recording_storage object) continues to work. Existing integrations don’t need to change.cURL
provider: "s3". New integrations should use recording_storage - it’s the only way to access GCS, Azure, and unsupported S3 regions, and it’s where new fields will be added.Terraform setup for S3
Terraform setup for S3
Start recording
Recording does not start automatically - you need to trigger it from your frontend after the participant joins:Receive the recording
Once the recording lands in your destination, Tavus firesapplication.recording_ready to your callback_url:
s3_key / storage_uri object key follows the pattern tavus/<conversation_id>/<epoch_ms> - a fixed tavus/ prefix, the conversation UUID, and a Unix epoch-milliseconds timestamp assigned by the recording service when the recording starts. The key has no file extension by default; recordings are MP4 files regardless. The same key is reused across delivery retries for a given recording, so it is stable per recording.
GCS and Azure Blob accept an optional
key_template on recording_storage to override the destination key shape - see the Google Cloud Storage or Azure Blob Storage setup section.application.recording_copy_failed with error_code and error_message. The recording is retained in Tavus’s recording infrastructure for ~30 days as a manual recovery window. See event reference.
Verify your setup
After your first recording, check:application.recording_readyarrives at your callback URL - typically within ~1 minute for an average call, longer for multi-hour recordings.- The
storage_uriresolves - try opening it (or fetching it) from your cloud’s CLI. - If you see
application.recording_copy_failedinstead, theerror_codeis your starting point:DESTINATION_AUTH_FAILEDis almost always a trust-policy issue (verify the issuer URI, subject claim, or assume-role principal).

