getAudiobookChapters

suspend fun getAudiobookChapters(id: String, market: CountryCode? = null, pagingOptions: PagingOptions = PagingOptions()): SpotifyApiResponse<AudiobookChapters>

Gets chapters for a Spotify audiobook.

Return

Wrapped Spotify API response with status code and parsed Spotify payload.

Parameters

id

Spotify ID of the target resource for this endpoint.

market

Market (country) code used to localize and filter content.

pagingOptions

Paging options (limit, offset) used for paged endpoints.