# Webhook api response

**URL:** <https://forum.rasa.com/t/webhook-api-response/17382>\
**Category:** Rasa Open Source\
**Created:** [September 27, 2019, 6:44am UTC](https://forum.rasa.com/t/webhook-api-response/17382 "2019-09-27T06:44:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohankumar](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@mohankumar](https://forum.rasa.com/u/mohankumar)\
**Post date:** [September 27, 2019, 6:44am UTC](https://forum.rasa.com/t/webhook-api-response/17382/1 "2019-09-27T06:44:57Z")

</div>

when i am hitting the webhook api [http://localhost:5005/webhooks/rest/webhook](http://localhost:5005/webhooks/rest/webhook) with body

body: { “message”: “hello”, “sender”:“me” }

Then it’s giving the response below:

success response: [{ “recipient\_id”:“me”, “text”:“Hello!how can i help you” }]

for Webhook api there is no failure response mentioned. So, i just want to know if there is any failure response for webhook api ,that i need to handle it

please tell me how can i know the failure response,i checked in rasa api doc,i did not get any information what will be the failure response?

thanks in advance

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [September 30, 2019, 7:42am UTC](https://forum.rasa.com/t/webhook-api-response/17382/2 "2019-09-30T07:42:43Z")

</div>

Hi @mohankumar, there could be a variety of failure responses just as any HTTP request, e.g. if your server is up you might get a 502 service unavailable or if you start it with an auth token, if you don’t provide the token you’d probably get a 403 unauthorized. I’d recommend in your app to handle the general case in which you don’t receive a 200 response.

---

<div class="post-metadata">

**Author:** ![VamsiK](https://avatars.discourse-cdn.com/v4/letter/v/a183cd/32.png) [@VamsiK](https://forum.rasa.com/u/VamsiK)\
**Post date:** [October 1, 2019, 7:50am UTC](https://forum.rasa.com/t/webhook-api-response/17382/3 "2019-10-01T07:50:34Z")

</div>

Hi @erohmensing, using url:[http://localhost:5005/webhooks/rest/webhook](http://localhost:5005/webhooks/rest/webhook), can we get intent along with response. if possible can u please help me, Thanks in advance

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [October 1, 2019, 7:53am UTC](https://forum.rasa.com/t/webhook-api-response/17382/4 "2019-10-01T07:53:10Z")

</div>

No, it will only give you the response. However if you run with `--enable-api` you can check the intent with [http://localhost:5005/model/parse](https://rasa.com/docs/rasa/api/http-api/#operation/predictModelAction)

---

<div class="post-metadata">

**Author:** ![kiranbeethoju](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kiranbeethoju/32/6953_2.png) [@kiranbeethoju](https://forum.rasa.com/u/kiranbeethoju)\
**Post date:** [December 18, 2020, 10:12am UTC](https://forum.rasa.com/t/webhook-api-response/17382/5 "2020-12-18T10:12:58Z")

</div>

You can just get intent and entity list when you call localhost:5005/model/parse with payload {“text”:“Who are you ?”}
