Publish the saved site draft
Replace the website document with the saved draft, apply its design settings and clear the draft. Review and authorize this replacement first. Preserves the existing LIVE or DRAFT status: changes are public only if the site is already LIVE. Refused with not_publishable (422, blockers listed) while the page still has example reviews or placeholder words: ask the owner for the real review (their customer's words and name) or whether to remove the block, never invent one.
Replace the website document with the saved draft, apply its design settings and clear the draft. Review and authorize this replacement first. Preserves the existing LIVE or DRAFT status: changes are public only if the site is already LIVE. Refused with not_publishable (422, blockers listed) while the page still has example reviews or placeholder words: ask the owner for the real review (their customer's words and name) or whether to remove the block, never invent one.
Create a scoped key in Benjiads → Integrations. Sent only in Authorization.
In: header
Header Parameters
8–80 letters, digits, underscores or hyphens. Reuse the same key and arguments for retries. Completed mutations replay for at least 90 days; a pending operation returns 409 and must be reconciled before using a new key.
^[A-Za-z0-9_-]+$8 <= length <= 80Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/site/publish" \ -H "Idempotency-Key: stringst"{ "site": { "id": "string", "slug": "string", "displayName": "string", "status": "string", "tagline": "string", "bio": "string", "photoUrl": "string", "phonePublic": "string", "theme": "string", "accentColor": "string", "brandWordmarkUrl": "string", "brandWordmarkWhiteUrl": "string", "locations": null, "links": null, "socials": null, "siteDoc": null, "siteDraft": null }}Save a site draft PUT
Replace the private saved draft with a complete Benjiads site document using the site builder's structural validation. Get the existing document with get_site before editing and preserve unrelated content. Does not publish the draft.
Read leads GET
Returns lead names, status, timestamps, contact information and answers, never masked. Excludes IP addresses, browser data, attribution payloads and internal chat identifiers. Follow nextCursor for pagination.