audio experiences
Get a bedtime story by id
Returns a single bedtime story by its id, including its playable audio, duration, imagery, captions where available, and tags. Returns 404 when no bedtime story exists for the id and 422 when the id is not a UUID.
get/v1/bedtime-stories/{id}
Request
- Base URLhttps://partners-api.thriveglobal.com
- AuthHTTP bearer
Path parameters
idstring uuid required
Bedtime story id
Query parameters
localestring
Locale, forwarded as the thrive-locale header
Response
The bedtime story
Example response
{
"data": {
"name": "The Sleepy Lighthouse",
"tags": [
{
"slug": "sleep",
"name": "Sleep"
}
],
"conditions": [
{
"slug": "sleep",
"name": "Sleep"
}
],
"coreHealthBehaviors": [
{
"slug": "sleep",
"name": "Sleep"
}
],
"durationInSeconds": 1200,
"media": [
{
"contentType": "audio/mpeg"
}
],
"assets": [
{
"contentType": "image/jpeg"
}
]
}
}Changes
No recorded changes to this operation across all 12 revisions of this API.