Skip to main content
Use prerecorded audio for greetings, disclaimers, verification prompts, and other call segments that repeat across calls. Upload each file once, then play it into any active call owned by your account.

Upload an audio asset

Upload an audio/* file with multipart form field audio:
curl -X POST "https://api.wadial.com/api/v1/call-audio-assets" \
  -H "Authorization: Bearer $WADIAL_API_KEY" \
  -F "[email protected];type=audio/wav"
Save the returned assetId.

Start or choose an active call

Use an active call that belongs to a connected token. If you need a new call, start one first:
POST /api/v1/sessions/{sessionId}/calls
Authorization: Bearer <api_key>
Content-Type: application/json

Play the asset

Play the uploaded asset into the call:
POST /api/v1/sessions/{sessionId}/calls/{callId}/audio/play
Authorization: Bearer <api_key>
Content-Type: application/json
{
  "assetId": "019f..."
}
WADial decodes the uploaded file and streams it into the call. Remote audio URLs are not accepted for playback.