# Call API from UI

**URL:** <https://talk.jekyllrb.com/t/call-api-from-ui/7289>\
**Category:** Help\
**Created:** [April 29, 2022, 9:19am UTC](https://talk.jekyllrb.com/t/call-api-from-ui/7289 "2022-04-29T09:19:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/sandeep/32/4631_2.png) [@sandeep](https://talk.jekyllrb.com/u/sandeep)\
**Post date:** [April 29, 2022, 9:19am UTC](https://talk.jekyllrb.com/t/call-api-from-ui/7289/1 "2022-04-29T09:19:24Z")

</div>

Using Jekyll I can create static website… I want to call some APIs on trigger of a button. Can someone please point me to documentation if this is possible

---

<div class="post-metadata">

**Author:** ![jhvanderschee](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jhvanderschee/32/583_2.png) [@jhvanderschee](https://talk.jekyllrb.com/u/jhvanderschee)\
**Post date:** [April 29, 2022, 2:33pm UTC](https://talk.jekyllrb.com/t/call-api-from-ui/7289/2 "2022-04-29T14:33:01Z")

</div>

Yes, that is possible. You should call the API with javascript.
