Download a sound
Returns a signed download URL for the sound file. The URL expires after `1 hour`.
Returns a signed download URL for the sound file. The URL expires after 1 hour.
Authorization
apiKey x-api-key<token>
Your API key. Generate one from the dashboard.
Keys are prefixed with los_.
In: header
Path Parameters
id*string
The sound ID
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.lotsofsounds.com/api/v1/sounds/a1b2c3d4-e5f6-7890-abcd-ef1234567890/download"{
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Thunder Rumble",
"download_url": "http://example.com",
"expires_in": 3600
}
}{
"error": "Missing x-api-key header"
}{
"error": "API access requires a Pro or Enterprise subscription",
"upgrade_url": "https://lotsofsounds.com/pricing"
}{
"error": "Sound not found"
}{
"error": "Rate limit exceeded",
"limit": 2500,
"reset": 1711411200
}{
"error": "Internal server error"
}