# Have wowza make API call when a VOD stream is requested for playback

**URL:** <https://community.wowza.com/t/have-wowza-make-api-call-when-a-vod-stream-is-requested-for-playback/35270>\
**Category:** Wowza Streaming Engine\
**Created:** [July 9, 2014, 1:14am UTC](https://community.wowza.com/t/have-wowza-make-api-call-when-a-vod-stream-is-requested-for-playback/35270 "2014-07-09T01:14:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_Achai](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Jon\_Achai](https://community.wowza.com/u/Jon_Achai)\
**Post date:** [July 9, 2014, 1:14am UTC](https://community.wowza.com/t/have-wowza-make-api-call-when-a-vod-stream-is-requested-for-playback/35270/1 "2014-07-09T01:14:14Z")

</div>

Hi,

I would like to have wowza authorize each VOD play with an API call with the requested stream and its query string parameters.

I know how to do this with a custom module.

However, I’m wondering if there is a way to do this without a custom module as this seems to me a pretty trivial request, perhaps some existing module that can be included in Application.xml with properties.

Thanks,

Jonathan

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [July 9, 2014, 11:34am UTC](https://community.wowza.com/t/have-wowza-make-api-call-when-a-vod-stream-is-requested-for-playback/35270/2 "2014-07-09T11:34:32Z")

</div>

Hi,

Please take a look at the instructions described in the “[How to do file-based authentication with RTMP client and credentials in querystring of the RTMP URL (ModuleOnConnectAuthenticate2)](https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2)” forum article.

You might find it useful.

Zoran
