# Help with CallApi

**URL:** <https://community.glideapps.com/t/help-with-callapi/66694>\
**Category:** Ask for Help\
**Created:** [October 2, 2023, 11:21am UTC](https://community.glideapps.com/t/help-with-callapi/66694 "2023-10-02T11:21:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)\
**Post date:** [October 2, 2023, 11:21am UTC](https://community.glideapps.com/t/help-with-callapi/66694/1 "2023-10-02T11:21:22Z")

</div>

Can someone help me with how to setup the call api to call OpenAI? Do I need to format the headers as JSON? Can’t for the life of me get it to work it keeps saying model is missing but I have model as a header with one of the chat completion models.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [October 2, 2023, 11:23am UTC](https://community.glideapps.com/t/help-with-callapi/66694/2 "2023-10-02T11:23:56Z")

</div>

Maybe a silly question, but why not use the OpenAI integration or one of Glide AI options instead?

---

<div class="post-metadata">

**Author:** ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)\
**Post date:** [October 2, 2023, 11:25am UTC](https://community.glideapps.com/t/help-with-callapi/66694/3 "2023-10-02T11:25:44Z")

</div>

Trying to see if I can get around timeouts and stream results
