latestOpenAPI 3.0.02026-08-203145159.1 KB

0e40a805593b

meditations

Get a meditation by id

Returns a single meditation by its id, including its playable video, duration, imagery, captions where available, and tags. Returns 404 when no meditation exists for the id and 422 when the id is not a UUID.

get/v1/meditations/{id}

Path parameters

idstring uuid required

Meditation id

Query parameters

localestring

Locale, forwarded as the thrive-locale header

Response

The meditation

Example response

{
  "data": {
    "name": "Body Scan for Deep Rest",
    "tags": [
      {
        "slug": "sleep",
        "name": "Sleep"
      }
    ],
    "conditions": [
      {
        "slug": "sleep",
        "name": "Sleep"
      }
    ],
    "coreHealthBehaviors": [
      {
        "slug": "sleep",
        "name": "Sleep"
      }
    ],
    "durationInSeconds": 540,
    "media": [
      {
        "contentType": "audio/mpeg"
      }
    ],
    "assets": [
      {
        "contentType": "image/jpeg"
      }
    ]
  }
}