Category-based sounds API with drag-and-drop ordering, audio uploads, admin dashboard, and x-api-key protected endpoints.
GET /api/v1/sounds?categorySlug=fire
Header: x-api-key: YOUR_API_KEY
{
"success": true,
"data": {
"sounds": [
{
"id": "clx...",
"name": "Campfire Crackling",
"url": "https://stressrelief1.com/uploads/sounds/fire/campfire.mp3",
"order": 1,
"status": "Active",
"category": { "slug": "fire" }
}
]
}
}Categories
Ordered
Audio API
Secure
Deliver categorized ambient sounds with ordered playback lists to your mobile and web apps.
All public API endpoints are protected with x-api-key authentication for secure access.
Full control over categories and sounds with drag-and-drop ordering and status management.
All endpoints require the x-api-key header
/api/v1/categories/api/v1/categories/:id/api/v1/sounds/api/v1/sounds/:idQuick start guide for integrating the Sounds API
https://stressrelief1.com/api/v1Include your API key in every request header:
x-api-key: YOUR_API_KEYFast Response
Secure
REST API
Example cURL Request
curl -X GET "https://stressrelief1.com/api/v1/sounds?categorySlug=meditation" \ -H "x-api-key: YOUR_API_KEY" \ -H "Accept: application/json"
Example JSON Response
{
"success": true,
"data": {
"sounds": [
{
"id": "clx123abc",
"name": "Gentle Rain",
"url": "https://stressrelief1.com/uploads/sounds/meditation/gentle-rain.mp3",
"order": 1,
"status": "Active",
"category": { "name": "Meditation", "slug": "meditation" }
}
],
"pagination": { "page": 1, "perPage": 50, "total": 10 }
}
}