# How can I use variables in post body of an API Extract?

**URL:** <https://matillioncommunity.discourse.group/t/how-can-i-use-variables-in-post-body-of-an-api-extract/1911>\
**Category:** Matillion ETL\
**Created:** [October 12, 2022, 2:50pm UTC](https://matillioncommunity.discourse.group/t/how-can-i-use-variables-in-post-body-of-an-api-extract/1911 "2022-10-12T14:50:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chanakyan.p](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@chanakyan.p](https://matillioncommunity.discourse.group/u/chanakyan.p)\
**Post date:** [October 12, 2022, 2:50pm UTC](https://matillioncommunity.discourse.group/t/how-can-i-use-variables-in-post-body-of-an-api-extract/1911/1 "2022-10-12T14:50:48Z")

</div>

I'm trying to dynamically pass start and end dates to a request body. I guess API Extract does not support variables in the property 'Body' . Is there an alternative to pass a dynamic value to this property?

---

<div class="post-metadata">

**Author:** ![birajamohanty](https://sea2.discourse-cdn.com/flex002/user_avatar/matillioncommunity.discourse.group/birajamohanty/32/1423_2.png) [@birajamohanty](https://matillioncommunity.discourse.group/u/birajamohanty)\
**Post date:** [March 30, 2023, 5:08pm UTC](https://matillioncommunity.discourse.group/t/how-can-i-use-variables-in-post-body-of-an-api-extract/1911/2 "2023-03-30T17:08:57Z")

</div>

[@chanakyan.p](https://matillioncommunity.discourse.group/u/chanakyan.p)​ Did you get any solution . I 'm looking for similar functionality.
