Skip to main content
POST
Upload an immutable WAV recording
Requires workflows:write, with telephony and Classical IVR enabled. Send the WAV bytes as base64 in wavBase64 and a recording name in name. Supports mono or stereo, 16-bit PCM, A-law or mu-law WAV files at 8, 16, 24, 32, 44.1 or 48 kHz. The decoded file must be at most 20 MB and five minutes long. Invalid or unsupported audio is rejected. The response contains the recording ID, name, sample rate, channels, duration in seconds and creation time. Use the ID in a Classical IVR node. Every upload creates a new recording; it does not replace an existing recording, activate a workflow or change number routing. See WAV recordings.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Required string length: 1 - 200
wavBase64
string
required
Required string length: 1 - 28000000

Response

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
name
string
required
sample_rate
number
required
channels
number
required
duration_seconds
number
required
created_at
string<date-time>
required