> For the complete documentation index, see [llms.txt](https://docs-beta.flex83.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-beta.flex83.com/table-of-contents/code/api.md).

# API Gateway

This feature lets you to create a serverless API. This API can be used to invoke a **Lambda** Function created in Lambda section. To create an API go to **Code > API Gateway** and click on **Add New**.

Enter the basic details - Select Module - Create New, Module Name, Module Description, API Description, Controller Path, API Path, HTTP Method and Lambda Function (Created in Lambda Section).

![Code > API Gateway > Add New](https://1057759320-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYj_V9XBSMgIZWFxZiX%2Fsync%2F1898cb3441470051ce6b4161677827e50dc74f61.png?generation=1631956335953577\&alt=media)

Save the details and navigate to API Gateway List page. Expand to see the API details.

![Code > API Gateway](https://1057759320-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYj_V9XBSMgIZWFxZiX%2Fsync%2F006d7a0a2439f94d6e75cc285b54212000f10bf4.png?generation=1631956335699982\&alt=media)

To verify the functionality of this API, click on **Try It Out**, enter the API **Parameter** values and click on **Execute**.

![Code > API Gateway > Try It Out](https://1057759320-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYj_V9XBSMgIZWFxZiX%2Fsync%2Fbe9c792768739232d37fd109c4f8ccefe55e21f2.png?generation=1631956335807900\&alt=media)

We can use this API Gateway in **Pages** section to bind this API to the HTML Page and plot some data on there. Refer **Pages** section to make use of API Gateway in HTML Pages.
