# How can I put variables into a POST request Response body?

**URL:** <https://community.postman.com/t/how-can-i-put-variables-into-a-post-request-response-body/57605>\
**Category:** Help Hub\
**Tags:** variables, json\
**Created:** [February 13, 2024, 12:29pm UTC](https://community.postman.com/t/how-can-i-put-variables-into-a-post-request-response-body/57605 "2024-02-13T12:29:16Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [February 15, 2024, 10:04am UTC](https://community.postman.com/t/how-can-i-put-variables-into-a-post-request-response-body/57605/10 "2024-02-15T10:04:38Z")

</div>

[Set initial value of collection variables - 🙋 Help - Postman Community](https://community.postman.com/t/set-initial-value-of-collection-variables/56274/12)

![image](https://us1.discourse-cdn.com/getpostman/original/3X/c/6/c6adab282975f585a7c67010560e46db37590c52.png)

You need to generate and include an API key in the headers (X-API-Key).

The above is a full request, but you can use sendRequest() in a pre-request script to the same effect.

---

_[View the full topic](https://community.postman.com/t/how-can-i-put-variables-into-a-post-request-response-body/57605)._
