Cloudflare R2

Store recordings of chat conversations in Cloudflare R2

Your assistants can be configured to record chat conversations and upload the recordings to a bucket in Cloudflare R2 when the conversation ends. You will need to configure the credential and bucket settings in the “Cloud Providers” section of the “Provider Credentials” page in the Vapi dashboard.

See these instructions for generating R2 tokens and access keys.

Credential Settings

SettingDescription
Cloudflare Account IDYour customer account id for Cloudflare
Cloudflare Account EmailThe email address associated with the account id
Cloudflare API Key/TokenThe value of an API Key/Token generated for the account (Cloudflare uses the terms API Key and API Token interchangeably)
Bucket NameThe name of the bucket in R2 to upload recordings to
Bucket URLThis is required only for buckets with a custom hostname or domain name. Enter the hostname for the bucket. You will need to set up a CORS policy in R2 for the hostname/domain name. See instructions for configuring CORS.
Bucket Path PrefixAn optional path prefix for recordings uploaded to the bucket
Bucket Access Key IDThe access key id associated with the API token you generated for R2 (this a string of 32 characters)
Bucket Secret Access KeyThe secret access key associated with the API token you generated for R2 (this is a string of 64 characters)

Example

Example Configuration