# How to create APIS like calling a particular action

**URL:** <https://forum.rasa.com/t/how-to-create-apis-like-calling-a-particular-action/5181>\
**Category:** Rasa Open Source\
**Tags:** pwessel\
**Created:** [February 14, 2019, 6:34am UTC](https://forum.rasa.com/t/how-to-create-apis-like-calling-a-particular-action/5181 "2019-02-14T06:34:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Likhitha](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@Likhitha](https://forum.rasa.com/u/Likhitha)\
**Post date:** [February 14, 2019, 6:34am UTC](https://forum.rasa.com/t/how-to-create-apis-like-calling-a-particular-action/5181/1 "2019-02-14T06:34:13Z")

</div>

How to create APIS like calling a particular action. I a,m confused with these questions

1. How to create an Action class(Custom actions) as an API or Action class itself is an API Service.

2. Is able to call user defined function from run method of action class

Please anyone give me solutions for my queries

---

<div class="post-metadata">

**Author:** ![pwessel](https://avatars.discourse-cdn.com/v4/letter/p/13edae/32.png) [@pwessel](https://forum.rasa.com/u/pwessel)\
**Post date:** [March 20, 2019, 4:48pm UTC](https://forum.rasa.com/t/how-to-create-apis-like-calling-a-particular-action/5181/2 "2019-03-20T16:48:12Z")

</div>

Hello @Likhitha, I think looking at the Medicare bot as an example can help you with those questions [GitHub - RasaHQ/medicare\_locator: 🏥Medicare Locator - Open source starter pack for developers to build contextual chatbots and AI assistants in healthcare](https://github.com/RasaHQ/medicare_locator). I’m sorry for getting back to you so late, if you still have questions reply here and I’ll get back to you.
