ChatGPT Custom GPT Schema

Select all the text below and paste it into the Schema box in your ChatGPT GPT editor.

{"openapi":"3.1.0","info":{"title":"NowPage Publisher","description":"Publish HTML pages to HC Protocol sites via NowPage.","version":"1.0.0"},"servers":[{"url":"https://nowpage-mcp.vercel.app"}],"paths":{"/api/publish":{"post":{"operationId":"publishToNowPage","summary":"Publish a page to an HC Protocol site","description":"Creates or updates an HTML page on a NowPage-powered domain.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["slug","name","html_content","tags"],"properties":{"domain":{"type":"string","description":"Target HC domain (e.g. ideas.asapai.net). Required."},"slug":{"type":"string","description":"URL path segment, lowercase with hyphens"},"name":{"type":"string","description":"Page title"},"html_content":{"type":"string","description":"Full HTML content for the page"},"tags":{"type":"array","items":{"type":"string"},"description":"HC taxonomy tags"},"update_mode":{"type":"string","enum":["version","replace"],"description":"version or replace"}}}}}},"responses":{"200":{"description":"Page published successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"url":{"type":"string"},"page_id":{"type":"string"},"action":{"type":"string"}}}}}}}}},"/api/send-email":{"post":{"operationId":"sendEmail","summary":"Send an email with HTML body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["to","subject","body"],"properties":{"to":{"type":"string","description":"Recipient email address"},"subject":{"type":"string","description":"Email subject line"},"body":{"type":"string","description":"Email body as HTML"}}}}}},"responses":{"200":{"description":"Email sent","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"id":{"type":"string"}}}}}}}}},"/api/register":{"post":{"operationId":"registerToCommandCenter","summary":"Register a published page in the command center","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["slug","title"],"properties":{"domain":{"type":"string","description":"Domain the page was published to"},"slug":{"type":"string","description":"URL slug"},"title":{"type":"string","description":"Page title"},"content_type":{"type":"string","enum":["article","brief","digest","meeting","notebook","guide","report"]},"tags":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Registered","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"url":{"type":"string"},"registry_id":{"type":"number"}}}}}}}}}}}}