Configure with Azure to store call recordings, tra...
# support
s
{ "artifactPlan": { "recordingEnabled": true, "recordingFormat": "wav;l16", "loggingEnabled": true, "pcapEnabled": true, "recordingUseCustomStorageEnabled": true, "loggingUseCustomStorageEnabled": true, "pcapUseCustomStorageEnabled": true, "recordingPath": "https://your-bucket.s3.amazonaws.com/recordings/", "loggingPath": "https://your-bucket.s3.amazonaws.com/logs/", "pcapS3PathPrefix": "/pcaps", "transcriptPlan": { "enabled": true, "assistantName": "Assistant", "userName": "Customer" } }, "credentials": [ { "provider": "aws", "region": "us-east-1", "accessKeyId": "your-access-key", "secretAccessKey": "your-secret-key" } ] } I see in the docs only aws example is available. Can you give me similar for provider azure @Vapi Support Bot @Vapi
v
Here’s a template for configuring Vapi to store call recordings and transcripts in Azure Blob Storage. Replace the placeholder values with your actual Azure details:
Copy code
json
{
  "artifactPlan": {
    "recordingEnabled": true,
    "recordingFormat": "wav;l16",
    "loggingEnabled": true,
    "pcapEnabled": true,
    "recordingUseCustomStorageEnabled": true,
    "loggingUseCustomStorageEnabled": true,
    "pcapUseCustomStorageEnabled": true,
    "recordingPath": "https://your-storage-account.blob.core.windows.net/recordings/",
    "loggingPath": "https://your-storage-account.blob.core.windows.net/logs/",
    "pcapS3PathPrefix": "/pcaps",
    "transcriptPlan": {
      "enabled": true,
      "assistantName": "Assistant",
      "userName": "Customer"
    }
  },
  "credentials": [
    {
      "provider": "azure",
      "accountName": "your-storage-account",
      "accountKey": "your-account-key",
      "container": "your-container-name"
    }
  ]
}
Update the
accountName
,
accountKey
, and
container
fields with your Azure Blob Storage info.
For more details, see the [Vapi call recording docs](https://docs.vapi.ai/assistants/call-recording). Source: - [Call Recording Documentation](https://docs.vapi.ai/assistants/call-recording)
s
@Vapi Support Bot I get this { "message": [ "assistant.each value in credentials.property accountName should not exist" ], "error": "Bad Request", "statusCode": 400 }
v
Thanks for sharing the error. To help resolve this, could you confirm if you are configuring your Azure credentials directly in the assistant JSON, or have you already created a custom Azure credential in the Vapi dashboard and are referencing it by a
credentialId
? Source: - [Call Recording Documentation](https://docs.vapi.ai/assistants/call-recording)
c
Hi Sahil, Here is an example cURL request you can use to create Azure Blob Storage credentials using the
/credential
endpoint:
Copy code
curl -X POST https://api.vapi.ai/credential \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "azure-blob-storage",
    "accountName": "your-storage-account-name",
    "accountKey": "your-storage-account-key",
    "containerName": "your-container-name"
  }'
Once the credential is created, you can reference it by
credentialId
in your assistant configuration. Let us know if you need anything else.
s
thanks Kyle for addressing this however this issue was already resolved.
c
Glad you were able to get this resolved. If anything else comes up or you need further assistance, we’re here to help.
j
Where does the call transcript get stored when you use this. I can see the recording path and the log path but how do you specify the path of the transcript?
s
Hi those are optional fields, you can choose to skip them, it will use default path for staorage
10 Views