# REST API with Rasa form

**URL:** <https://forum.rasa.com/t/rest-api-with-rasa-form/51286>\
**Category:** Rasa Open Source\
**Created:** [February 11, 2022, 2:45pm UTC](https://forum.rasa.com/t/rest-api-with-rasa-form/51286 "2022-02-11T14:45:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![popoiuioopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/popoiuioopp/32/19414_2.png) [@popoiuioopp](https://forum.rasa.com/u/popoiuioopp)\
**Post date:** [February 11, 2022, 2:45pm UTC](https://forum.rasa.com/t/rest-api-with-rasa-form/51286/1 "2022-02-11T14:45:05Z")

</div>

Hi,

I am trying to integrate Rasa Opensource with my backend server. I want to get a response in JSON form.

Is there any API that will respond to the user’s input (according to stories I set) as well as return the slots values rasa got from the form?

Thank you

---

<div class="post-metadata">

**Author:** ![athenasaurav](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/athenasaurav/32/8139_2.png) [@athenasaurav](https://forum.rasa.com/u/athenasaurav)\
**Post date:** [February 11, 2022, 3:18pm UTC](https://forum.rasa.com/t/rest-api-with-rasa-form/51286/2 "2022-02-11T15:18:26Z")

</div>

Hey @popoiuioopp,

Please have a look at this: [Rasa Open Source Documentation](https://rasa.com/docs/rasa/pages/http-api)

---

<div class="post-metadata">

**Author:** ![popoiuioopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/popoiuioopp/32/19414_2.png) [@popoiuioopp](https://forum.rasa.com/u/popoiuioopp)\
**Post date:** [February 11, 2022, 3:34pm UTC](https://forum.rasa.com/t/rest-api-with-rasa-form/51286/3 "2022-02-11T15:34:01Z")

</div>

Hi, Thank you for your response.

I assume that the API I need to use is [this](https://rasa.com/docs/rasa/pages/http-api/#operation/parseModelMessage). But it seems like it doesn’t give anything other than the intent of the input. I want something like [http://localhost:5005/webhooks/rest/webhook](http://localhost:5005/webhooks/rest/webhook) and the slots rasa got from the Rasa form. Is there anything like that I missed?

---

<div class="post-metadata">

**Author:** ![athenasaurav](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/athenasaurav/32/8139_2.png) [@athenasaurav](https://forum.rasa.com/u/athenasaurav)\
**Post date:** [February 11, 2022, 5:32pm UTC](https://forum.rasa.com/t/rest-api-with-rasa-form/51286/4 "2022-02-11T17:32:26Z")

</div>

I don’t think rasa gives anything like this in default. But I think you can try to write a custom action as form output where along with response it can return you the list of slots set if you want to use in REST API endpoint. I’m not sure why /model/parse is not giving you a list of entities.
