# Custom headers in playlist.m3u8

**URL:** <https://community.wowza.com/t/custom-headers-in-playlist-m3u8/47100>\
**Category:** Wowza Streaming Engine\
**Created:** [May 30, 2016, 8:58am UTC](https://community.wowza.com/t/custom-headers-in-playlist-m3u8/47100 "2016-05-30T08:58:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexey\_R](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@Alexey\_R](https://community.wowza.com/u/Alexey_R)\
**Post date:** [May 30, 2016, 8:58am UTC](https://community.wowza.com/t/custom-headers-in-playlist-m3u8/47100/1 "2016-05-30T08:58:56Z")

</div>

Hi,

Following [this tutorial](https://www.wowza.com/docs/how-to-add-custom-playlist-headers-to-apple-hls-manifests#api_vod) I was able to add custom headers to chunklist m3u8 using Java API.

Is it possible to add custom headers to playlist.m3u8 to have something similar to example below?

**playlist.m3u8**

```auto
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=868638,CODECS="avc1.66.21,mp4a.40.2",RESOLUTION=512x288
#X-CUSTOM-HEADER:ID=1,TYPE=CUSTOM
chunklist_w345834439.m3u8

```

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [May 30, 2016, 9:08am UTC](https://community.wowza.com/t/custom-headers-in-playlist-m3u8/47100/2 "2016-05-30T09:08:55Z")

</div>

Hello there and welcome to the Wowza support forum.

You will find your answer to this question in the [comments found here](http://community.wowza.com/t/-/41585)

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Andrew\_Ramberg](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Andrew\_Ramberg](https://community.wowza.com/u/Andrew_Ramberg)\
**Post date:** [May 31, 2016, 8:03am UTC](https://community.wowza.com/t/custom-headers-in-playlist-m3u8/47100/3 "2016-05-31T08:03:24Z")

</div>

Hello,

You might find this article helpful:

[Add Custom Playlist Headers to HLS Manifests](https://www.wowza.com/docs/how-to-add-custom-playlist-headers-to-apple-hls-manifests)

Best regards,

Andrew

---

<div class="post-metadata">

**Author:** ![Alexey\_R](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@Alexey\_R](https://community.wowza.com/u/Alexey_R)\
**Post date:** [May 30, 2016, 4:45pm UTC](https://community.wowza.com/t/custom-headers-in-playlist-m3u8/47100/4 "2016-05-30T16:45:45Z")

</div>

Hello!

Thank you for your answer, but as far as I understand they add HTTP header to playlist.m3u8. What I have to add is m3u8 header like #X-CUSTOM-HEADER:ID=1,TYPE=CUSTOM

Anyway I will try suggested solution
