Skip to main content
GET
/
media
/
chapters
/
{chapterId}
Get chapter
curl --request GET \
  --url https://api.thehaystack.ai/v2/haystack/media/chapters/{chapterId} \
  --header 'Authorization: Bearer <token>'
{
  "chapter": {
    "id": 123,
    "itemId": 123,
    "mediaAssetId": 123,
    "title": "Introduction",
    "startMs": 123,
    "suggested": true,
    "accepted": true,
    "hidden": true
  }
}

Authorizations

Authorization
string
header
required

Enter your API token from the Haystack dashboard

Path Parameters

chapterId
integer
required

Response

200 - application/json

Chapter detail

chapter
object