# Publish to lucid.page from a Custom GPT
Custom GPTs can call external APIs through Actions, and lucid.page publishes its whole API as an OpenAPI spec. Put those two together and your GPT can turn anything it writes into a typeset, shareable page.
Contents
Setup takes about five minutes, and anonymous publishing means you don’t even need an account to start.
# Wire it up
- Open the GPT editor and go to Configure, then scroll to Actions and click Create new action.
- Click Import from URL and paste:
https://lucid.page/openapi.json - Leave authentication on None for now.
- Save, then test the
publishDocoperation with something short.
That’s the whole integration. The spec describes every endpoint lucid.page has, so the GPT can publish, update, list, bundle, and delete without you writing a single line of glue code.
# Try it
Take the meal plan we just made and publish it as a page.
The GPT calls publishDoc, and you get back a URL like https://lucid.page/calm-otter-q9m4. Open it in a browser and it’s a proper typeset document, not a chat bubble.
# Add your API key (optional but recommended)
Without a key, pages are anonymous: they stay up, but nobody can edit or delete them later. If you want your GPT’s pages in your account:
- Mint an
lp_key in the lucid.page dashboard under Settings. - In the GPT’s action settings, set authentication to API Key.
- Paste the key, set Auth Type to Custom, and use
apiKeyas the custom key name so it travels as a query parameter.
Now everything the GPT publishes is yours: updatable, deletable, and eligible for private visibility.
# What works well
- Anything long-form the GPT produces. Reports, plans, study guides, itineraries. The stuff that’s miserable to read in a chat scroll.
- Iterating. With a key, the GPT can update a page in place. “Add the Thursday section to that page” keeps the same URL.
- Sharing outside ChatGPT. The recipient needs nothing, not even a ChatGPT account. It’s a normal web page.
# Worth knowing
- Anonymous pages come with a claim link. If the GPT publishes without a key and prints a claim URL, opening it while signed in moves the page to your account. The ownership model in full: Your agent published a page. Now what?
- Default visibility is unlisted. Nobody finds the page unless you share the link. Ask for public if you want it indexed.
- Rate limits: 10 publishes a minute anonymous, 120 with a key. A chatty GPT won’t get near either.
- Mind what you publish. The GPT will happily publish anything you paste into the chat, including things you maybe shouldn’t put on a public URL. Unlisted is the default for a reason, but a link is still a link.
More of a Claude person? Same idea over there: Add lucid.page to Claude Desktop.