Upload an ambient clip
POST
https://server.heyrik.com/api/v1/background-audiosHeaders
AuthorizationstringRequiredUse Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.
Parameters 2
Fields documented for this operation. See the request example for placement and structure.
filemultipart fileRequiredAudio clip (mp3/wav).
namestringLabel used when selecting it on an agent.
Response
No response example is documented for this operation yet.
Error referencePOST/background-audios
cURL
curl -X POST https://server.heyrik.com/api/v1/background-audios \
-H "Authorization: Bearer $HEYRIK_API_KEY" \
-F "file=@office.mp3" \
-F "name=Office"Illustrative examples · No live request is sent
