[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fapi\u002Fendpoints\u002Flanding-page\u002Fpublish-landing-page":3},{"_path":4,"title":5,"description":6,"navigation":7,"image":13,"head":18,"body":32},"\u002Fdocs\u002Fapi\u002Fendpoints\u002Flanding-page\u002Fpublish-landing-page","Publish Landing Page API Endpoint · Waitlister Documentation","Publish a waitlist's landing page to waitlister.me\u002Fp\u002F{slug} — or take it offline — programmatically with the Waitlister API.",{"title":8,"parent":9,"group":10,"description":11,"order":12},"Publish Landing Page","Endpoints","Advanced","Publish (or unpublish) a waitlist's landing page via the API.",13,{"src":14,"width":15,"height":16,"alt":17},"https:\u002F\u002Ffirebasestorage.googleapis.com\u002Fv0\u002Fb\u002Fwaitinglist-app-c24fc.appspot.com\u002Fo\u002Fdocs-og-image.png?alt=media&token=85e60b24-c882-4f84-aa9e-ef85e1ae4bb5",400,300,"Waitlister API Publish Landing Page",{"meta":19},[20,23,26,29],{"name":21,"content":22},"keywords","publish landing page, landing page api, go live, unpublish landing page",{"name":24,"content":25},"robots","index, follow",{"name":27,"content":28},"author","Waitlister",{"name":30,"content":31},"copyright","© 2026 Waitlister",{"type":33,"children":34,"toc":403},"root",[35,49,55,86,91,98,134,140,147,226,232,245,251,264,275,280,290,296],{"type":36,"tag":37,"props":38,"children":39},"element","p",{},[40],{"type":36,"tag":41,"props":42,"children":45},"span",{"className":43},[44],"secondary-heading",[46],{"type":47,"value":48},"text","API Reference \u002F Endpoints",{"type":36,"tag":50,"props":51,"children":53},"h1",{"id":52},"publish-landing-page",[54],{"type":47,"value":8},{"type":36,"tag":37,"props":56,"children":57},{},[58,60,67,69,75,77,84],{"type":47,"value":59},"Publishes the draft landing page to ",{"type":36,"tag":61,"props":62,"children":64},"code",{"className":63},[],[65],{"type":47,"value":66},"https:\u002F\u002Fwaitlister.me\u002Fp\u002F{slug}",{"type":47,"value":68}," (or the waitlist's active custom domain, if one is configured). Available on ",{"type":36,"tag":70,"props":71,"children":72},"strong",{},[73],{"type":47,"value":74},"every plan",{"type":47,"value":76}," with an ",{"type":36,"tag":78,"props":79,"children":81},"a",{"href":80},"\u002Fdocs\u002Fapi\u002Fauthentication",[82],{"type":47,"value":83},"account API key",{"type":47,"value":85},".",{"type":36,"tag":37,"props":87,"children":88},{},[89],{"type":47,"value":90},"Before publishing, the page is validated: it must contain an email field and a submit button (always true for API-created pages), and a headline of at least 3 characters.",{"type":36,"tag":92,"props":93,"children":95},"h2",{"id":94},"endpoint-details",[96],{"type":47,"value":97},"Endpoint Details",{"type":36,"tag":99,"props":100,"children":101},"ul",{},[102,119],{"type":36,"tag":103,"props":104,"children":105},"li",{},[106,111,113],{"type":36,"tag":70,"props":107,"children":108},{},[109],{"type":47,"value":110},"URL",{"type":47,"value":112},": ",{"type":36,"tag":61,"props":114,"children":116},{"className":115},[],[117],{"type":47,"value":118},"https:\u002F\u002Fwaitlister.me\u002Fapi\u002Fv1\u002Fwaitlist\u002F{waitlistKey}\u002Flanding-page\u002Fpublish",{"type":36,"tag":103,"props":120,"children":121},{},[122,127,128],{"type":36,"tag":70,"props":123,"children":124},{},[125],{"type":47,"value":126},"Method",{"type":47,"value":112},{"type":36,"tag":61,"props":129,"children":131},{"className":130},[],[132],{"type":47,"value":133},"POST",{"type":36,"tag":92,"props":135,"children":137},{"id":136},"request",[138],{"type":47,"value":139},"Request",{"type":36,"tag":141,"props":142,"children":144},"h3",{"id":143},"body-parameters",[145],{"type":47,"value":146},"Body Parameters",{"type":36,"tag":148,"props":149,"children":150},"table",{},[151,180],{"type":36,"tag":152,"props":153,"children":154},"thead",{},[155],{"type":36,"tag":156,"props":157,"children":158},"tr",{},[159,165,170,175],{"type":36,"tag":160,"props":161,"children":162},"th",{},[163],{"type":47,"value":164},"Parameter",{"type":36,"tag":160,"props":166,"children":167},{},[168],{"type":47,"value":169},"Type",{"type":36,"tag":160,"props":171,"children":172},{},[173],{"type":47,"value":174},"Required",{"type":36,"tag":160,"props":176,"children":177},{},[178],{"type":47,"value":179},"Description",{"type":36,"tag":181,"props":182,"children":183},"tbody",{},[184],{"type":36,"tag":156,"props":185,"children":186},{},[187,197,202,207],{"type":36,"tag":188,"props":189,"children":190},"td",{},[191],{"type":36,"tag":61,"props":192,"children":194},{"className":193},[],[195],{"type":47,"value":196},"unpublish",{"type":36,"tag":188,"props":198,"children":199},{},[200],{"type":47,"value":201},"Boolean",{"type":36,"tag":188,"props":203,"children":204},{},[205],{"type":47,"value":206},"No",{"type":36,"tag":188,"props":208,"children":209},{},[210,216,218,224],{"type":36,"tag":61,"props":211,"children":213},{"className":212},[],[214],{"type":47,"value":215},"true",{"type":47,"value":217}," takes the page offline (status becomes ",{"type":36,"tag":61,"props":219,"children":221},{"className":220},[],[222],{"type":47,"value":223},"unpublished",{"type":47,"value":225},")",{"type":36,"tag":141,"props":227,"children":229},{"id":228},"example-request",[230],{"type":47,"value":231},"Example Request",{"type":36,"tag":233,"props":234,"children":240},"pre",{"className":235,"code":237,"language":238,"meta":239},[236],"language-bash","curl -X POST \"https:\u002F\u002Fwaitlister.me\u002Fapi\u002Fv1\u002Fwaitlist\u002FWAITLIST_KEY\u002Flanding-page\u002Fpublish\" \\\n  -H \"X-Api-Key: wl_acct_your-account-api-key\"\n","bash","",[241],{"type":36,"tag":61,"props":242,"children":243},{"__ignoreMap":239},[244],{"type":47,"value":237},{"type":36,"tag":92,"props":246,"children":248},{"id":247},"response",[249],{"type":47,"value":250},"Response",{"type":36,"tag":141,"props":252,"children":254},{"id":253},"success-response-200",[255,257],{"type":47,"value":256},"Success Response ",{"type":36,"tag":61,"props":258,"children":261},{"className":259},[260],"inline-code-green",[262],{"type":47,"value":263},"200",{"type":36,"tag":233,"props":265,"children":270},{"className":266,"code":268,"language":269,"meta":239},[267],"language-json","{\n  \"success\": true,\n  \"data\": {\n    \"status\": \"published\",\n    \"hosted_page_url\": \"https:\u002F\u002Fwaitlister.me\u002Fp\u002Fmy-product\",\n    \"notes\": \"Published without a custom social-share (OG) image — publishing once from the dashboard generates one.\"\n  }\n}\n","json",[271],{"type":36,"tag":61,"props":272,"children":273},{"__ignoreMap":239},[274],{"type":47,"value":268},{"type":36,"tag":37,"props":276,"children":277},{},[278],{"type":47,"value":279},"The edge cache is purged automatically, so the page (and later PATCH updates) are live right away.",{"type":36,"tag":281,"props":282,"children":284},"callout",{"type":283},"note",[285],{"type":36,"tag":37,"props":286,"children":287},{},[288],{"type":47,"value":289},"API publishes skip the custom social-share (OG) image — the page renders and shares fine without one, and publishing once from the dashboard generates it.",{"type":36,"tag":141,"props":291,"children":293},{"id":292},"error-responses",[294],{"type":47,"value":295},"Error Responses",{"type":36,"tag":148,"props":297,"children":298},{},[299,314],{"type":36,"tag":152,"props":300,"children":301},{},[302],{"type":36,"tag":156,"props":303,"children":304},{},[305,310],{"type":36,"tag":160,"props":306,"children":307},{},[308],{"type":47,"value":309},"Status Code",{"type":36,"tag":160,"props":311,"children":312},{},[313],{"type":47,"value":179},{"type":36,"tag":181,"props":315,"children":316},{},[317,335,352,369,386],{"type":36,"tag":156,"props":318,"children":319},{},[320,330],{"type":36,"tag":188,"props":321,"children":322},{},[323],{"type":36,"tag":61,"props":324,"children":327},{"className":325},[326],"inline-code-red",[328],{"type":47,"value":329},"401",{"type":36,"tag":188,"props":331,"children":332},{},[333],{"type":47,"value":334},"Missing or invalid API key \u002F waitlist key",{"type":36,"tag":156,"props":336,"children":337},{},[338,347],{"type":36,"tag":188,"props":339,"children":340},{},[341],{"type":36,"tag":61,"props":342,"children":344},{"className":343},[326],[345],{"type":47,"value":346},"404",{"type":36,"tag":188,"props":348,"children":349},{},[350],{"type":47,"value":351},"No landing page yet — create one first",{"type":36,"tag":156,"props":353,"children":354},{},[355,364],{"type":36,"tag":188,"props":356,"children":357},{},[358],{"type":36,"tag":61,"props":359,"children":361},{"className":360},[326],[362],{"type":47,"value":363},"422",{"type":36,"tag":188,"props":365,"children":366},{},[367],{"type":47,"value":368},"Validation failed — missing form elements, or headline shorter than 3 characters. The message says what to fix",{"type":36,"tag":156,"props":370,"children":371},{},[372,381],{"type":36,"tag":188,"props":373,"children":374},{},[375],{"type":36,"tag":61,"props":376,"children":378},{"className":377},[326],[379],{"type":47,"value":380},"429",{"type":36,"tag":188,"props":382,"children":383},{},[384],{"type":47,"value":385},"Rate limit exceeded (3\u002Fmin; 5\u002Fmin on Growth+)",{"type":36,"tag":156,"props":387,"children":388},{},[389,398],{"type":36,"tag":188,"props":390,"children":391},{},[392],{"type":36,"tag":61,"props":393,"children":395},{"className":394},[326],[396],{"type":47,"value":397},"503",{"type":36,"tag":188,"props":399,"children":400},{},[401],{"type":47,"value":402},"The landing-page API is temporarily disabled",{"title":239,"searchDepth":404,"depth":404,"links":405},3,[406,408,412],{"id":94,"depth":407,"text":97},2,{"id":136,"depth":407,"text":139,"children":409},[410,411],{"id":143,"depth":404,"text":146},{"id":228,"depth":404,"text":231},{"id":247,"depth":407,"text":250,"children":413},[414,416],{"id":253,"depth":404,"text":415},"Success Response 200",{"id":292,"depth":404,"text":295}]