# Connecting to GPTs through API

**URL:** <https://community.openai.com/t/connecting-to-gpts-through-api/536438>\
**Category:** API\
**Tags:** api\
**Created:** [November 30, 2023, 10:16pm UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438 "2023-11-30T22:16:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott4488](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@scott4488](https://community.openai.com/u/scott4488)\
**Post date:** [November 30, 2023, 10:16pm UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438/1 "2023-11-30T22:16:36Z")

</div>

is it possible to connect to my custom GPTs through an API and have the same web search capabilities.

---

<div class="post-metadata">

**Author:** ![cass](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/cass/32/247188_2.png) [@cass](https://community.openai.com/u/cass)\
**Post date:** [December 1, 2023, 2:21am UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438/2 "2023-12-01T02:21:02Z")

</div>

Welcome to the community.

To clarify, are you looking to GET or POST data from an API to a GPT, while also ensuring the GPT can use the Web Browsing “Capability”?

Or are you looking to communicate with the GPT via an API?

---

<div class="post-metadata">

**Author:** ![scott4488](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@scott4488](https://community.openai.com/u/scott4488)\
**Post date:** [December 1, 2023, 2:37am UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438/3 "2023-12-01T02:37:26Z")

</div>

It’s for internal use on our internal company website. I developed GPTs that work perfectly for my use case, but it continues to limit the amount of usage.

I need the web browsing to function exactly as it does when I’m logged into ChatGPT. The prompts are long and specific.

---

<div class="post-metadata">

**Author:** ![scott4488](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@scott4488](https://community.openai.com/u/scott4488)\
**Post date:** [December 1, 2023, 2:38am UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438/4 "2023-12-01T02:38:10Z")

</div>

essentially, I just need to move the GPTs over to a WordPress site and use my API limitd

---

<div class="post-metadata">

**Author:** ![cass](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/cass/32/247188_2.png) [@cass](https://community.openai.com/u/cass)\
**Post date:** [December 1, 2023, 2:45am UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438/5 "2023-12-01T02:45:34Z")

</div>

Ah ok. As far as I know the only way to interact with a GPT currently is on [ChatGPT](https://chat.openai.com/) itself. That may change but as of right now you can not “embed” or otherwise share your GPT outside of ChatGPT.

You can create a very similar experience to what you described by not building GPTs but using the OpenAI APIs. [The Playground](https://platform.openai.com/playground) is a good place to start to learn about that. Others may be able to advise on that approach.

---

<div class="post-metadata">

**Author:** ![shawnharris963](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@shawnharris963](https://community.openai.com/u/shawnharris963)\
**Post date:** [December 1, 2023, 3:15am UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438/6 "2023-12-01T03:15:03Z")

</div>

Have you tried building with Assistants api to create your own GPT?

---

<div class="post-metadata">

**Author:** ![scott4488](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@scott4488](https://community.openai.com/u/scott4488)\
**Post date:** [December 1, 2023, 3:29am UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438/7 "2023-12-01T03:29:37Z")

</div>

i was able to get the same functionality with the assistant but does it have the ability to browse the web?

---

<div class="post-metadata">

**Author:** ![\_j](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/_j/32/766292_2.png) [@\_j](https://community.openai.com/u/_j)\
**Post date:** [December 1, 2023, 6:48am UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438/8 "2023-12-01T06:48:54Z")

</div>

The assistants endpoint does not have the ability to access the internet.

It has the ability to call for tool functions that you provide.

---

<div class="post-metadata">

**Author:** ![hzjaved991](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/hzjaved991/32/372019_2.png) [@hzjaved991](https://community.openai.com/u/hzjaved991)\
**Post date:** [May 18, 2024, 1:33am UTC](https://community.openai.com/t/connecting-to-gpts-through-api/536438/9 "2024-05-18T01:33:57Z")

</div>

Hi scott,  
Did you integrate gpt into website? I am looking for the best possible solution after acquiring the openAI API key
