lucid.page Publish to lucid.page from a Custom GPT
Text size
Read time3 min

# 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

  1. Open the GPT editor and go to Configure, then scroll to Actions and click Create new action.
  2. Click Import from URL and paste: https://lucid.page/openapi.json
  3. Leave authentication on None for now.
  4. Save, then test the publishDoc operation 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.

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:

  1. Mint an lp_ key in the lucid.page dashboard under Settings.
  2. In the GPT’s action settings, set authentication to API Key.
  3. Paste the key, set Auth Type to Custom, and use apiKey as 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

# Worth knowing

More of a Claude person? Same idea over there: Add lucid.page to Claude Desktop.

End