# Trying to send a file with whatsapp api

**URL:** <https://community.postman.com/t/trying-to-send-a-file-with-whatsapp-api/37730>\
**Category:** Help Hub\
**Tags:** variables, chaining\
**Created:** [July 31, 2022, 7:18am UTC](https://community.postman.com/t/trying-to-send-a-file-with-whatsapp-api/37730 "2022-07-31T07:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mission-participant4](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/mission-participant4/32/12783_2.png) [@mission-participant4](https://community.postman.com/u/mission-participant4)\
**Post date:** [July 31, 2022, 7:18am UTC](https://community.postman.com/t/trying-to-send-a-file-with-whatsapp-api/37730/1 "2022-07-31T07:18:00Z")

</div>

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-just-getting-started-category/37) before creating a new topic.**

> Here’s an outline with best practices for making your inquiry.

_My question_:  
I am trying to send invoices to my customers through whatsapp api. I make an api call to upload the invoice to WhatsApp and the copy it’s ID and paste it in my 2nd api call to send it to the customer. it’s not a good idea to do like that. So, I want to know, how I can pull my first call’s response in 2nd call’s variable.

_Details (like screenshots)_:

_How I found the problem_:

_I’ve already tried_:

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [August 1, 2022, 8:32am UTC](https://community.postman.com/t/trying-to-send-a-file-with-whatsapp-api/37730/2 "2022-08-01T08:32:35Z")

</div>

Hi @mission-participant4

Can you share the 1st API response so we can see the structure of the JSON?
