curl --request POST \
--url https://api.coval.dev/v1/audio:upload \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'{
"upload_id": "upl_01HRAB8N9G7Q4Y3K2J5W6X1ZTC",
"upload_url": "https://uploads.coval.dev/8fce4e70/upl_01HRAB8N9G7Q4Y3K2J5W6X1ZTC?signature=...",
"expires_at": "2025-11-03T15:32:00Z",
"max_size_bytes": 104857600,
"content_type": "audio/wav"
}Uploaded Conversations
Upload audio
Issue an opaque upload_id and a short-lived presigned PUT URL for direct audio upload.
POST
/
audio:upload
curl --request POST \
--url https://api.coval.dev/v1/audio:upload \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'{
"upload_id": "upl_01HRAB8N9G7Q4Y3K2J5W6X1ZTC",
"upload_url": "https://uploads.coval.dev/8fce4e70/upl_01HRAB8N9G7Q4Y3K2J5W6X1ZTC?signature=...",
"expires_at": "2025-11-03T15:32:00Z",
"max_size_bytes": 104857600,
"content_type": "audio/wav"
}Body
application/json
Request body for POST /v1/audio:upload. All fields are optional;
an empty body issues a WAV upload URL.
Response
Presigned upload URL issued
Response for POST /v1/audio:upload.
Was this page helpful?