2026.11.01

GPT Sites works as an API server too: a backend for early prototypes

You can publish GPT Sites as the backend API server for an app. Since anyone can call it, you still need to set up authentication.

Good news: GPT Sites can be used as an API server too!!

Since you can publish GPT Sites as the backend API server for an app, the upside is that you can quickly build the API part even when you’re at the “I just want to try it out” stage. Of course, anyone can call it, so you do need to set up authentication…

If you split the app into an admin version and a general-user version, and decide whether to publish to everyone or only to yourself when logged in, you can even make it physically invisible to other people! You might also be able to handle data safely with a BFF setup…!? Who’s over-engineering now… (?)

I’ll play with it a bit more before the event next Tuesday! #AIMIXMeetup

Diagram of serving a JSON API from ChatGPT Sites

Event Q&A and voting board built from participant, admin and API Sites with Cloudflare D1

Benefits and considerations of this setup

Drawbacks and caveats of this setup

https://x.com/suna_gaku/status/2116446925599986043

Addendum

The event is on Thursday!!!

https://x.com/suna_gaku/status/2116669346282078543

Sagasa8045 says their app “Karimono” is also published with GPT Sites. They noted that Codex comes with a deployment skill out of the box, and that being able to switch between public and private on the fly is a nice touch.

https://x.com/Sagasa8045/status/2116509753421729856