Prepare a WAV media asset
Fetch and validate a WAV source asynchronously. Retry with the same Idempotency-Key and body to receive the same asset.
Authentication
AuthorizationBearer
Application auth. Send `Authorization: Bearer <app_uuid>:<api_key>` using any active key in the app's collection. See [Authentication](https://voice-platform.docs.buildwithfern.com/api/authentication) for details.
Headers
Idempotency-Key
Optional key for safely retrying mutating requests. See [Idempotency](https://voice-platform.docs.buildwithfern.com/idempotency) for details.
Request
This endpoint expects an object.
source_url
Public HTTP or HTTPS URL of the WAV file to prepare.
ttl_seconds
Optional asset lifetime in seconds. The service default applies when omitted.
Response
Asset accepted or replayed
asset_id
created_at
status
duration_ms
expires_at
failure_reason
format
size_bytes
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
413
Content Too Large Error
500
Internal Server Error
503
Service Unavailable Error