# Vapi to Website API and Back - Need Help

**URL:** <https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260>\
**Category:** Questions\
**Tags:** http, webhooks\
**Created:** [October 8, 2024, 12:49am UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260 "2024-10-08T00:49:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garabed\_Yegavian](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Garabed\_Yegavian](https://community.make.com/u/Garabed_Yegavian)\
**Post date:** [October 8, 2024, 12:49am UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260/1 "2024-10-08T00:49:43Z")

</div>

Greetings! Hello everyone, I am working on a VAPI project where caller can call in and open a ticket for support. When caller requests a ticket vapi sends it to a webhook and an HTTP GET is performed on another website API. This is where I am stuck. How do I get the response back to VAPI? I tried a response webhook but it doesnt look right. It has two fields Status 200 and Body. I tried adding the value of the http data field which is a string Data example: {“error”:400,“msg”:“No account found with your provided account name”} but I know that cant work.

Vapi\>Webhook\>Create JSON\>Http Request GET\> ???

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [October 8, 2024, 12:57am UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260/2 "2024-10-08T00:57:57Z")

</div>

Welcome to the Make community!

To allow others to assist you with your scenario, please provide the following:

# 1. Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/0/20b53cdf28d223e85fc9654c350eadebd37f5d3c.png)

# 2. Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/2/2ff55ee04419049c127f183db2b3eebfbbbbfc64.png)

# 3. Output Bundles of Modules

Please provide the **output** bundles of the modules by running the scenario (or get from the [scenario History tab](https://www.make.com/en/help/scenarios/scenario-execution-history)), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2876156ab3ea5bc9e40bbc0edfb9f025406b7c48.png)

### A. Upload as Text File

Save each bundle contents in your text editor as a `bundle.txt` file, and upload it here into this discussion thread.

### B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.  
These are the two ways to format text so that it won’t be modified by the forum:

- **Method 1: Type code block manually**

- **Method 2. Highlight and click the format button in the editor**

Providing the input/output bundles will allow others to _replicate_ what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

---

<div class="post-metadata">

**Author:** ![Garabed\_Yegavian](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Garabed\_Yegavian](https://community.make.com/u/Garabed_Yegavian)\
**Post date:** [October 8, 2024, 1:53pm UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260/3 "2024-10-08T13:53:19Z")

</div>

[blueprint.json](https://community.make.com/uploads/short-url/ype9aXnFpnzq1TaIrJj2jrbgDMi.json) (50.4 KB)  
[create JSON.txt](https://community.make.com/uploads/short-url/q7NZFRfcroHgKharwako88HHKn1.txt) (69 Bytes)  
[custom webhook.txt](https://community.make.com/uploads/short-url/114J39dhYvPwlsroc0jFP43VoNu.txt) (13.0 KB)  
[http GET.txt](https://community.make.com/uploads/short-url/mgzYP80Mu9G5v0oPFQ8B140vn2a.txt) (1.6 KB)

 ![screenshot of senario](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/8/c85cf4cb61f7d7c016f6aa235b35363236f48f4c.png)

---

<div class="post-metadata">

**Author:** ![Garabed\_Yegavian](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Garabed\_Yegavian](https://community.make.com/u/Garabed_Yegavian)\
**Post date:** [October 8, 2024, 1:53pm UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260/4 "2024-10-08T13:53:59Z")

</div>

I have gotten it to process through however still not able to get the response back to vapi?

---

<div class="post-metadata">

**Author:** ![Garabed\_Yegavian](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Garabed\_Yegavian](https://community.make.com/u/Garabed_Yegavian)\
**Post date:** [October 8, 2024, 2:08pm UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260/5 "2024-10-08T14:08:36Z")

</div>

[vapi.txt](https://community.make.com/uploads/short-url/uhE4vW56CEpDkE7jhyNuBBHzK64.txt) (546 Bytes)  
Here is the request and result from VAPI.

---

<div class="post-metadata">

**Author:** ![Garabed\_Yegavian](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Garabed\_Yegavian](https://community.make.com/u/Garabed_Yegavian)\
**Post date:** [October 8, 2024, 2:55pm UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260/6 "2024-10-08T14:55:10Z")

</div>

Ok so, if I am correct here, I have to be able to return the result to VAPI in the format below. This means I need to be able to parse the response string in the http request and take the 200 or 404 and inset it into the result field to send over the webhook?

```auto
{
    "results": [
        {
            "toolCallId": "X",
            "result": "Y"
        }
    ]
}

```

I think I am getting closer.

---

<div class="post-metadata">

**Author:** ![Garabed\_Yegavian](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Garabed\_Yegavian](https://community.make.com/u/Garabed_Yegavian)\
**Post date:** [October 8, 2024, 5:15pm UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260/7 "2024-10-08T17:15:51Z")

</div>

Ok what I am finding is that the webhook response is not returning the data to VAPI at all.

---

<div class="post-metadata">

**Author:** ![Garabed\_Yegavian](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Garabed\_Yegavian](https://community.make.com/u/Garabed_Yegavian)\
**Post date:** [October 8, 2024, 7:44pm UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260/8 "2024-10-08T19:44:06Z")

</div>

I think I got it, added the call id from the original webhook to the webhook response and that seemed to do it.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [October 23, 2024, 6:39am UTC](https://community.make.com/t/vapi-to-website-api-and-back-need-help/57260/9 "2024-10-23T06:39:54Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


